Show group conversation names, allow dimissal of delievered status

This commit is contained in:
Moez Bhatti
2018-02-28 00:38:06 -05:00
parent 8aace11ab6
commit fbe74aa316
2 changed files with 19 additions and 13 deletions
@@ -143,4 +143,8 @@ open class Message : RealmObject() {
val isFailedSms = isSms() && boxId == Sms.MESSAGE_TYPE_FAILED
return isFailedMms || isFailedSms
}
fun compareSender(other: Message): Boolean {
return isMe() && other.isMe() || (!isMe() && !other.isMe() && address == other.address)
}
}