mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 00:37:47 +00:00
A blocked contact doesn't necessarily have to be a number
// FREEBIE
This commit is contained in:
parent
1c3ba4b675
commit
25a30d63a5
@ -53,8 +53,8 @@ public class MultiDeviceBlockedUpdateJob extends MasterSecretJob implements Inje
|
||||
Recipients recipients;
|
||||
|
||||
while ((recipients = reader.getNext()) != null) {
|
||||
if (recipients.isSingleRecipient()) {
|
||||
blocked.add(recipients.getPrimaryRecipient().getAddress().toPhoneString());
|
||||
if (recipients.isSingleRecipient() && !recipients.isGroupRecipient()) {
|
||||
blocked.add(recipients.getPrimaryRecipient().getAddress().serialize());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user