Fix up loading usernames from a room when switching to single chat through notifications
This commit is contained in:
parent
512fbc8917
commit
ad992bc22b
1 changed files with 3 additions and 0 deletions
|
@ -401,6 +401,9 @@ public class MessageAdapter extends ArrayAdapter<Message> {
|
|||
viewHolder.username.setVisibility(View.VISIBLE);
|
||||
viewHolder.username.setText(displayName);
|
||||
}
|
||||
} else {
|
||||
viewHolder.username.setText(null);
|
||||
viewHolder.username.setVisibility(View.GONE);
|
||||
}
|
||||
if (bodyLanguage != null) {
|
||||
timeInfoBuilder.add(bodyLanguage.toUpperCase(Locale.US));
|
||||
|
|
Loading…
Reference in a new issue