mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-30 15:46:30 +00:00
Display profile name in when appropriate
Display in conversation list, conversation actionbar, group messages, and group members list when address is not in system contacts // FREEBIE
This commit is contained in:
@@ -111,7 +111,13 @@ public class GroupMembersDialog extends AsyncTask<Void, Void, List<Recipient>> {
|
||||
if (isLocalNumber(recipient)) {
|
||||
recipientStrings.add(context.getString(R.string.GroupMembersDialog_me));
|
||||
} else {
|
||||
recipientStrings.add(recipient.toShortString());
|
||||
String name = recipient.toShortString();
|
||||
|
||||
if (recipient.getName() == null && recipient.getProfileName() != null) {
|
||||
name += " ~" + recipient.getProfileName();
|
||||
}
|
||||
|
||||
recipientStrings.add(name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user