mirror of
https://github.com/oxen-io/session-android.git
synced 2025-04-05 19:25:39 +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)
|
trueUnreadCount -= (unreadFromMine + 1)
|
||||||
storage.markConversationAsRead(threadId, false)
|
storage.markConversationAsRead(threadId, false)
|
||||||
}
|
}
|
||||||
SSKEnvironment.shared.notificationManager.updateNotification(context, threadId)
|
|
||||||
storage.incrementUnread(threadId, trueUnreadCount)
|
storage.incrementUnread(threadId, trueUnreadCount)
|
||||||
storage.updateThread(threadId, true)
|
storage.updateThread(threadId, true)
|
||||||
|
SSKEnvironment.shared.notificationManager.updateNotification(context, threadId)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user