mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-11 16:33:39 +00:00
Fix crash when username is null in mms auth
Fixes #2850 Closes #2863 // FREEBIE
This commit is contained in:
parent
beceee846a
commit
796c5de5d5
@ -241,7 +241,7 @@ public abstract class LegacyMmsConnection {
|
||||
}
|
||||
|
||||
public boolean hasAuthentication() {
|
||||
return !TextUtils.isEmpty(username) || !TextUtils.isEmpty(password);
|
||||
return !TextUtils.isEmpty(username);
|
||||
}
|
||||
|
||||
public String getUsername() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user