mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 10:47:46 +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…
x
Reference in New Issue
Block a user