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

View File

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