mirror of
https://github.com/oxen-io/session-android.git
synced 2025-03-31 23:42:13 +00:00
fix: re-order when notification updates occur in batch message receive job (#905)
This commit is contained in:
parent
4cfe871058
commit
c677431867
@ -133,9 +133,9 @@ class BatchMessageReceiveJob(
|
||||
trueUnreadCount -= (unreadFromMine + 1)
|
||||
storage.markConversationAsRead(threadId, false)
|
||||
}
|
||||
SSKEnvironment.shared.notificationManager.updateNotification(context, threadId)
|
||||
storage.incrementUnread(threadId, trueUnreadCount)
|
||||
storage.updateThread(threadId, true)
|
||||
SSKEnvironment.shared.notificationManager.updateNotification(context, threadId)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user