mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +01:00
Merge pull request #1733 from nextcloud/bugfix/1730/guests-without-names-quotes
Show quotes of unnamed guests with "Guests"
This commit is contained in:
commit
acd0bb7cd5
@ -211,8 +211,8 @@ class MagicIncomingTextMessageViewHolder(itemView: View, payload: Any) : Message
|
|||||||
} ?: run {
|
} ?: run {
|
||||||
binding.messageQuote.quotedMessageImage.visibility = View.GONE
|
binding.messageQuote.quotedMessageImage.visibility = View.GONE
|
||||||
}
|
}
|
||||||
binding.messageQuote.quotedMessageAuthor.text = parentChatMessage.actorDisplayName
|
binding.messageQuote.quotedMessageAuthor.text = if (parentChatMessage.actorDisplayName.isNullOrEmpty())
|
||||||
?: context!!.getText(R.string.nc_nick_guest)
|
context!!.getText(R.string.nc_nick_guest) else parentChatMessage.actorDisplayName
|
||||||
binding.messageQuote.quotedMessage.text = parentChatMessage.text
|
binding.messageQuote.quotedMessage.text = parentChatMessage.text
|
||||||
|
|
||||||
binding.messageQuote.quotedMessageAuthor
|
binding.messageQuote.quotedMessageAuthor
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
DO NOT TOUCH; GENERATED BY DRONE
|
DO NOT TOUCH; GENERATED BY DRONE
|
||||||
<span class="mdl-layout-title">Lint Report: 1 error and 223 warnings</span>
|
<span class="mdl-layout-title">Lint Report: 1 error and 224 warnings</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user