Add back chats marked unread to notifications tab
Likely also required for the "mark all as read" feature to work properly since v1.1.4 Change-Id: I375860e55e3f188526f90cf7ffdccf192871e745
This commit is contained in:
parent
811950cb18
commit
04c0d7c121
|
@ -178,7 +178,7 @@ internal class RoomSummaryDataSource @Inject constructor(@SessionDatabase privat
|
|||
when (it) {
|
||||
RoomCategoryFilter.ONLY_DM -> query.equalTo(RoomSummaryEntityFields.IS_DIRECT, true)
|
||||
RoomCategoryFilter.ONLY_ROOMS -> query.equalTo(RoomSummaryEntityFields.IS_DIRECT, false)
|
||||
RoomCategoryFilter.ONLY_WITH_NOTIFICATIONS -> query.greaterThan(RoomSummaryEntityFields.NOTIFICATION_COUNT, 0)
|
||||
RoomCategoryFilter.ONLY_WITH_NOTIFICATIONS -> query.greaterThan(RoomSummaryEntityFields.NOTIFICATION_COUNT, 0).or().equalTo(RoomSummaryEntityFields.MARKED_UNREAD, true)
|
||||
RoomCategoryFilter.ALL -> {
|
||||
// nop
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue