Fix snippet

This commit is contained in:
bemusementpark 2024-07-16 02:25:53 +09:30
parent 85ee87f619
commit 6507b0a973
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -72,4 +72,4 @@ class SessionServiceAttachmentStream(val inputStream: InputStream?, contentType:
return null
}
}
}
}