From 21e747ee992029e97ab6dddc515de40c5b4ab5ed Mon Sep 17 00:00:00 2001 From: 0x330a <92654767+0x330a@users.noreply.github.com> Date: Fri, 30 Jun 2023 15:25:04 +1000 Subject: [PATCH] fix: maybe requires update thread no matter what --- .../session/libsession/messaging/jobs/BatchMessageReceiveJob.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsession/src/main/java/org/session/libsession/messaging/jobs/BatchMessageReceiveJob.kt b/libsession/src/main/java/org/session/libsession/messaging/jobs/BatchMessageReceiveJob.kt index 59bc927245..32e5d2d2e2 100644 --- a/libsession/src/main/java/org/session/libsession/messaging/jobs/BatchMessageReceiveJob.kt +++ b/libsession/src/main/java/org/session/libsession/messaging/jobs/BatchMessageReceiveJob.kt @@ -222,8 +222,8 @@ class BatchMessageReceiveJob( } if (newLastSeen > 0) { storage.markConversationAsRead(threadId, newLastSeen, force = true) - storage.updateThread(threadId, true) } + storage.updateThread(threadId, true) SSKEnvironment.shared.notificationManager.updateNotification(context, threadId) }