Hide sender prefix for control messages

This commit is contained in:
Andrew 2023-07-31 19:48:45 +09:30
parent dd345cbf07
commit b487d5aa64
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ class ConversationView : LinearLayout {
val body = getDisplayBody(context)
when {
recipient.isLocalNumber -> body // Note to self
recipient.isLocalNumber || lastMessage?.isControlMessage == true -> body // Note to self
lastMessage?.isOutgoing == true -> {
TextUtils.concat(resources.getString(R.string.MessageRecord_you), ": ", body)
}