Revert "Avoid db upgrade: add back deprecated fields concerning unread kind"

This reverts commit 2812dc0a3e.
This commit is contained in:
SpiritCroc 2020-09-22 09:55:52 +02:00
parent 2812dc0a3e
commit 9425640277

View file

@ -32,10 +32,6 @@ internal open class RoomSummaryEntity(
var name: String? = "",
var topic: String? = "",
var latestPreviewableEvent: TimelineEventEntity? = null,
@Deprecated("Different implementation available from upstream. Field not removed to avoid db scheme numbers differing from upstream")
var latestPreviewableContentEvent: TimelineEventEntity? = null,
@Deprecated("Different implementation available from upstream. Field not removed to avoid db scheme numbers differing from upstream")
var latestPreviewableOriginalContentEvent: TimelineEventEntity? = null,
var heroes: RealmList<String> = RealmList(),
var joinedMembersCount: Int? = 0,
var invitedMembersCount: Int? = 0,
@ -46,10 +42,6 @@ internal open class RoomSummaryEntity(
var highlightCount: Int = 0,
var readMarkerId: String? = null,
var hasUnreadMessages: Boolean = false,
@Deprecated("Different implementation available from upstream. Field not removed to avoid db scheme numbers differing from upstream")
var hasUnreadContentMessages: Boolean = false,
@Deprecated("Different implementation available from upstream. Field not removed to avoid db scheme numbers differing from upstream")
var hasUnreadOriginalContentMessages: Boolean = false,
var tags: RealmList<RoomTagEntity> = RealmList(),
var userDrafts: UserDraftsEntity? = null,
var breadcrumbsIndex: Int = RoomSummary.NOT_IN_BREADCRUMBS,