Fixed notification not disappearing on resume (#573)

This commit is contained in:
Agnieszka C 2023-01-21 11:14:54 +01:00
parent 9ac2b71172
commit 795d7c7dc6
1 changed files with 2 additions and 0 deletions

View File

@ -169,6 +169,8 @@ class ThreadActivity : SimpleActivity() {
}
isActivityVisible = true
notificationManager.cancel(threadId.hashCode())
ensureBackgroundThread {
val newConv = conversationsDB.getConversationWithThreadId(threadId)
if (newConv != null) {