mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-13 10:53:38 +00:00
Fix snippet
This commit is contained in:
parent
85ee87f619
commit
6507b0a973
@ -142,7 +142,7 @@ class ConversationView : LinearLayout {
|
||||
private fun ThreadRecord.getSnippet(): CharSequence = listOfNotNull(
|
||||
getSnippetPrefix(),
|
||||
getDisplayBody(context)
|
||||
).joinToString { ": " }
|
||||
).joinToString(": ")
|
||||
|
||||
private fun ThreadRecord.getSnippetPrefix(): CharSequence? = when {
|
||||
recipient.isLocalNumber || lastMessage?.isControlMessage == true -> null
|
||||
|
Loading…
x
Reference in New Issue
Block a user