mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-11 20:47:42 +00:00
make it possible to set a client-side nickname
This commit is contained in:
@@ -287,9 +287,7 @@ public class Recipient implements RecipientModifiedListener {
|
||||
|
||||
public synchronized @Nullable String getName() {
|
||||
String displayName = MessagingConfiguration.shared.getStorage().getDisplayName(this.address.toString());
|
||||
if (displayName != null) { return displayName; }
|
||||
|
||||
if (this.profileName != null) { return this.profileName; }
|
||||
if (displayName != null && !displayName.isEmpty()) { return displayName; }
|
||||
|
||||
if (this.name == null && isMmsGroupRecipient()) {
|
||||
List<String> names = new LinkedList<>();
|
||||
|
Reference in New Issue
Block a user