mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-28 13:48:12 +00:00
Fix incorrect assertion for syncing pni only contacts.
This commit is contained in:
@@ -130,7 +130,7 @@ public final class StorageSyncModels {
|
||||
}
|
||||
|
||||
private static @NonNull SignalContactRecord localToRemoteContact(@NonNull RecipientRecord recipient, byte[] rawStorageId) {
|
||||
if (recipient.getAci() == null && recipient.getE164() == null) {
|
||||
if (recipient.getAci() == null && recipient.getPni() == null && recipient.getE164() == null) {
|
||||
throw new AssertionError("Must have either a UUID or a phone number!");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user