mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-21 18:26:57 +00:00
Block unknown group messages from blocked senders.
This commit is contained in:
@@ -1830,7 +1830,7 @@ public final class PushProcessMessageJob extends BaseJob {
|
||||
Optional<GroupId> groupId = GroupUtil.idFromGroupContext(message.getGroupContext());
|
||||
|
||||
if (groupId.isPresent() && groupDatabase.isUnknownGroup(groupId.get())) {
|
||||
return false;
|
||||
return sender.isBlocked();
|
||||
}
|
||||
|
||||
boolean isTextMessage = message.getBody().isPresent();
|
||||
|
||||
Reference in New Issue
Block a user