Merge pull request #658 from Aga-C/fix-deleting-notification

Fixed deleting notification after deleting conversation ( #637)
This commit is contained in:
Tibor Kaputa 2023-05-24 10:15:05 +02:00 committed by GitHub
commit 063cd2bace
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 {