mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 12:05:22 +00:00
Hide sender prefix for control messages
This commit is contained in:
parent
dd345cbf07
commit
b487d5aa64
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user