mirror of
https://github.com/nextcloud/talk-android
synced 2025-02-02 12:42:20 +00:00
Fix a bug with author name
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
d628a30576
commit
df1b46a132
@ -47,7 +47,7 @@ public class MagicIncomingTextMessageViewHolder
|
||||
public void onBind(ChatMessage message) {
|
||||
super.onBind(message);
|
||||
String author;
|
||||
if (TextUtils.isEmpty(author = message.getActorDisplayName())) {
|
||||
if (!TextUtils.isEmpty(author = message.getActorDisplayName())) {
|
||||
messageAuthor.setText(author);
|
||||
} else {
|
||||
messageAuthor.setText(R.string.nc_nick_guest);
|
||||
|
Loading…
Reference in New Issue
Block a user