mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-22 13:09:46 +01:00
Fix issue with guests in quoted messages
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
110ac03471
commit
7fb8dacb1e
@ -390,7 +390,7 @@ class ChatView(private val bundle: Bundle) : BaseView(), ImageLoaderInterface {
|
||||
quotedChatText.maxLines = 2
|
||||
quotedChatText.ellipsize = TextUtils.TruncateAt.END
|
||||
quotedChatText.text = chatMessage.text
|
||||
quotedAuthor.text = chatMessage.user.name
|
||||
quotedAuthor.text = if (chatMessage.user.name.isNotEmpty()) chatMessage.user.name else resources.getText(R.string.nc_guest)
|
||||
quotedMessageTime.text = DateFormatter.format(chatMessage.createdAt, DateFormatter.Template.TIME)
|
||||
loadImage(quotedUserAvatar, chatMessage.user.avatar)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user