Merge pull request #575 from Aga-C/fix-notification-on-resume
Fixed notification not disappearing on resume (#573)
This commit is contained in:
commit
f1c5b512a3
|
@ -169,6 +169,8 @@ class ThreadActivity : SimpleActivity() {
|
|||
}
|
||||
isActivityVisible = true
|
||||
|
||||
notificationManager.cancel(threadId.hashCode())
|
||||
|
||||
ensureBackgroundThread {
|
||||
val newConv = conversationsDB.getConversationWithThreadId(threadId)
|
||||
if (newConv != null) {
|
||||
|
|
Loading…
Reference in New Issue