properley update message types in the local db too

This commit is contained in:
tibbi 2021-01-01 20:13:45 +01:00
parent 7fedcbd108
commit ac7d2afbb6
4 changed files with 14 additions and 6 deletions

View file

@ -554,7 +554,7 @@ fun Context.markThreadMessagesUnread(threadId: Long) {
}
}
fun Context.updateMessageDeliveryStatus(id: Long, status: Int) {
fun Context.updateMessageType(id: Long, status: Int) {
val uri = Sms.CONTENT_URI
val contentValues = ContentValues().apply {
put(Sms.TYPE, status)