wip: maybe the volatile is being updated with 0 on batch message receive?

This commit is contained in:
0x330a
2023-06-27 19:00:10 +10:00
parent a15842166c
commit df39194024
2 changed files with 4 additions and 1 deletions

View File

@@ -229,7 +229,7 @@ class BatchMessageReceiveJob(
if (!openGroupID.isNullOrEmpty()) {
Log.d("Loki-DBG", "new-lastSeen for: $openGroupID is $currentLastSeen")
}
storage.markConversationAsRead(threadId, newLastSeen)
storage.markConversationAsRead(threadId, newLastSeen, force = true)
storage.updateThread(threadId, true)
SSKEnvironment.shared.notificationManager.updateNotification(context, threadId)
}