Fixed notification not disappearing on resume (#573)
This commit is contained in:
parent
9ac2b71172
commit
795d7c7dc6
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue