send the targeted number at the Thread activity to be used

This commit is contained in:
tibbi 2020-04-04 15:25:21 +02:00
parent 2ed255ae5d
commit 2e078af782
6 changed files with 19 additions and 12 deletions

View file

@ -3,8 +3,8 @@ package com.simplemobiletools.smsmessenger.models
import android.provider.Telephony
data class Message(
val id: Int, val subject: String, val body: String, val type: Int, val address: String, val date: Int, val read: Boolean,
val thread: Int
val id: Int, val subject: String, val body: String, val type: Int, val senderName: String, val senderNumber: String, val date: Int,
val read: Boolean, val thread: Int
) : ThreadItem() {
fun isReceivedMessage() = type == Telephony.Sms.MESSAGE_TYPE_INBOX
}