mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 09:49:30 +01:00
Prevent crash when opening conversation with unregistered UUID-only recipient.
This commit is contained in:
committed by
Cody Henthorne
parent
129effd0ec
commit
add65cf592
@@ -650,6 +650,10 @@ public class Recipient {
|
||||
return getUuid().isPresent();
|
||||
}
|
||||
|
||||
public boolean isUuidOnly() {
|
||||
return hasUuid() && !hasSmsAddress();
|
||||
}
|
||||
|
||||
public @NonNull GroupId requireGroupId() {
|
||||
GroupId resolved = resolving ? resolve().groupId : groupId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user