fix #47, mark the whole conversation as read with Mark as Read at notification
This commit is contained in:
parent
26951cc979
commit
a85eb77d31
5 changed files with 23 additions and 18 deletions
|
|
@ -30,8 +30,8 @@ class SmsReceiver : BroadcastReceiver() {
|
|||
}
|
||||
|
||||
if (!context.isNumberBlocked(address)) {
|
||||
val messageId = context.insertNewSMS(address, subject, body, date, read, threadId, type, subscriptionId)
|
||||
context.showReceivedMessageNotification(address, body, threadId.toInt(), null, messageId, false)
|
||||
context.insertNewSMS(address, subject, body, date, read, threadId, type, subscriptionId)
|
||||
context.showReceivedMessageNotification(address, body, threadId.toInt(), null)
|
||||
refreshMessages()
|
||||
|
||||
ensureBackgroundThread {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue