mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-24 10:51:27 +01:00
Show username if appropriate in group chips.
This commit is contained in:
@@ -650,8 +650,9 @@ public class Recipient {
|
||||
String name = Util.getFirstNonEmpty(getGroupName(context),
|
||||
getSystemProfileName().getGivenName(),
|
||||
getProfileName().getGivenName(),
|
||||
getDisplayName(context),
|
||||
getUsername().orElse(null));
|
||||
getE164().orElse(null),
|
||||
getUsername().orElse(null),
|
||||
getDisplayName(context));
|
||||
|
||||
return StringUtil.isolateBidi(name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user