mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-16 12:00:03 +03:00
Fix local notification badge number
This commit is contained in:
parent
a60f6e996a
commit
5723465106
2 changed files with 3 additions and 1 deletions
|
@ -154,7 +154,7 @@ project(":diff-match-patch") {
|
|||
|
||||
// Global configurations across all modules
|
||||
ext {
|
||||
isThreadingEnabled = false
|
||||
isThreadingEnabled = true
|
||||
}
|
||||
|
||||
//project(":matrix-sdk-android") {
|
||||
|
|
|
@ -113,9 +113,11 @@ internal fun TimelineEventEntity.Companion.findAllLocalThreadNotificationsForRoo
|
|||
TimelineEventEntity
|
||||
.whereRoomId(realm, roomId = roomId)
|
||||
.equalTo(TimelineEventEntityFields.ROOT.IS_ROOT_THREAD, true)
|
||||
.beginGroup()
|
||||
.equalTo(TimelineEventEntityFields.ROOT.THREAD_NOTIFICATION_STATE_STR, ThreadNotificationState.NEW_MESSAGE.name)
|
||||
.or()
|
||||
.equalTo(TimelineEventEntityFields.ROOT.THREAD_NOTIFICATION_STATE_STR, ThreadNotificationState.NEW_HIGHLIGHTED_MESSAGE.name)
|
||||
.endGroup()
|
||||
|
||||
/**
|
||||
* Returns whether or not the given user is participating in a current thread
|
||||
|
|
Loading…
Add table
Reference in a new issue