Merge pull request #658 from Aga-C/fix-deleting-notification
Fixed deleting notification after deleting conversation ( #637)
This commit is contained in:
commit
063cd2bace
|
@ -199,7 +199,7 @@ class ConversationsAdapter(
|
|||
val conversationsToRemove = currentList.filter { selectedKeys.contains(it.hashCode()) } as ArrayList<Conversation>
|
||||
conversationsToRemove.forEach {
|
||||
activity.deleteConversation(it.threadId)
|
||||
activity.notificationManager.cancel(it.hashCode())
|
||||
activity.notificationManager.cancel(it.threadId.hashCode())
|
||||
}
|
||||
|
||||
val newList = try {
|
||||
|
|
Loading…
Reference in New Issue