fix #47, mark the whole conversation as read with Mark as Read at notification

This commit is contained in:
tibbi 2020-06-17 21:45:17 +02:00
parent 26951cc979
commit a85eb77d31
5 changed files with 23 additions and 18 deletions

View file

@ -33,7 +33,7 @@ class MmsReceiver : com.klinker.android.send_message.MmsReceivedReceiver() {
null
}
context.showReceivedMessageNotification(address, mms.body, mms.thread, glideBitmap, mms.id, true)
context.showReceivedMessageNotification(address, mms.body, mms.thread, glideBitmap)
val conversation = context.getConversations(mms.thread.toLong()).firstOrNull() ?: return@ensureBackgroundThread
context.conversationsDB.insertOrUpdate(conversation)
}