properly mark read MMS messages too, not just SMS
This commit is contained in:
parent
7a883ce280
commit
a791b681aa
3 changed files with 31 additions and 6 deletions
|
|
@ -5,7 +5,7 @@ import com.simplemobiletools.smsmessenger.extensions.getThreadTitle
|
|||
|
||||
data class Message(
|
||||
val id: Int, val body: String, val type: Int, val participants: ArrayList<Contact>, val date: Int, val read: Boolean, val thread: Int,
|
||||
val attachment: MessageAttachment?
|
||||
val isMMS: Boolean, val attachment: MessageAttachment?
|
||||
) : ThreadItem() {
|
||||
fun isReceivedMessage() = type == Telephony.Sms.MESSAGE_TYPE_INBOX
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue