mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
fix
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
This commit is contained in:
parent
176ec82e2f
commit
903dd07a1b
@ -232,7 +232,7 @@ class ConversationItem(
|
|||||||
|
|
||||||
val text =
|
val text =
|
||||||
if (
|
if (
|
||||||
chatMessage?.messageType === MessageType.REGULAR_TEXT_MESSAGE.toString()
|
chatMessage?.getCalculateMessageType() == MessageType.REGULAR_TEXT_MESSAGE
|
||||||
) {
|
) {
|
||||||
calculateRegularLastMessageText(appContext)
|
calculateRegularLastMessageText(appContext)
|
||||||
} else {
|
} else {
|
||||||
@ -252,6 +252,8 @@ class ConversationItem(
|
|||||||
appContext.getString(R.string.nc_formatted_message_you),
|
appContext.getString(R.string.nc_formatted_message_you),
|
||||||
lastMessageDisplayText
|
lastMessageDisplayText
|
||||||
)
|
)
|
||||||
|
} else if (model.type == ConversationEnums.ConversationType.ROOM_TYPE_ONE_TO_ONE_CALL) {
|
||||||
|
lastMessageDisplayText
|
||||||
} else {
|
} else {
|
||||||
val authorDisplayName =
|
val authorDisplayName =
|
||||||
if (!TextUtils.isEmpty(chatMessage?.actorDisplayName)) {
|
if (!TextUtils.isEmpty(chatMessage?.actorDisplayName)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user