Fixed deleting notification after deleting conversation ( #637)
This commit is contained in:
parent
d168889767
commit
bb61229cef
1 changed files with 1 additions and 1 deletions
|
|
@ -199,7 +199,7 @@ class ConversationsAdapter(
|
||||||
val conversationsToRemove = currentList.filter { selectedKeys.contains(it.hashCode()) } as ArrayList<Conversation>
|
val conversationsToRemove = currentList.filter { selectedKeys.contains(it.hashCode()) } as ArrayList<Conversation>
|
||||||
conversationsToRemove.forEach {
|
conversationsToRemove.forEach {
|
||||||
activity.deleteConversation(it.threadId)
|
activity.deleteConversation(it.threadId)
|
||||||
activity.notificationManager.cancel(it.hashCode())
|
activity.notificationManager.cancel(it.threadId.hashCode())
|
||||||
}
|
}
|
||||||
|
|
||||||
val newList = try {
|
val newList = try {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue