mirror of
https://github.com/oxen-io/session-android.git
synced 2023-12-14 02:53:01 +01:00
A blocked contact doesn't necessarily have to be a number
// FREEBIE
This commit is contained in:
parent
1c3ba4b675
commit
25a30d63a5
1 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue