Block unknown group messages from blocked senders.
This commit is contained in:
parent
e75a03b6f8
commit
a5dbb5d91f
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue