mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-12 14:17:43 +00:00
fix crash & empty nickname bug
This commit is contained in:
@@ -288,7 +288,7 @@ public class Recipient implements RecipientModifiedListener {
|
||||
public synchronized @Nullable String getName() {
|
||||
|
||||
String displayName = MessagingModuleConfiguration.shared.getStorage().getDisplayName(this.address.toString());
|
||||
if (displayName != null) { return displayName; }
|
||||
if (displayName != null && !displayName.isEmpty()) { return displayName; }
|
||||
|
||||
if (this.name == null && isMmsGroupRecipient()) {
|
||||
List<String> names = new LinkedList<>();
|
||||
|
Reference in New Issue
Block a user