mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-29 14:38:45 +03:00
Avoid db upgrade: add back deprecated fields concerning unread kind
Change-Id: I5fb946b58e581098f1f52c9730cc43435ff926a8
This commit is contained in:
parent
7364aeec93
commit
2812dc0a3e
1 changed files with 8 additions and 0 deletions
|
@ -32,6 +32,10 @@ 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,
|
||||
|
@ -42,6 +46,10 @@ 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,
|
||||
|
|
Loading…
Reference in a new issue