Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
This commit is contained in:
rapterjet2004 2024-08-14 11:56:05 -05:00
parent 176ec82e2f
commit 903dd07a1b
No known key found for this signature in database
GPG key ID: 3AA5FDFED7944099

View file

@ -232,7 +232,7 @@ class ConversationItem(
val text =
if (
chatMessage?.messageType === MessageType.REGULAR_TEXT_MESSAGE.toString()
chatMessage?.getCalculateMessageType() == MessageType.REGULAR_TEXT_MESSAGE
) {
calculateRegularLastMessageText(appContext)
} else {
@ -252,6 +252,8 @@ class ConversationItem(
appContext.getString(R.string.nc_formatted_message_you),
lastMessageDisplayText
)
} else if (model.type == ConversationEnums.ConversationType.ROOM_TYPE_ONE_TO_ONE_CALL) {
lastMessageDisplayText
} else {
val authorDisplayName =
if (!TextUtils.isEmpty(chatMessage?.actorDisplayName)) {