Fix up loading usernames from a room when switching to single chat through notifications

This commit is contained in:
Arne 2024-11-19 11:10:23 +01:00
parent 512fbc8917
commit ad992bc22b

View file

@ -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));