Skip to content

Commit

Permalink
Remove remote delete option for group updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
greyson-signal authored and cody-signal committed Oct 22, 2020
1 parent f4d3fe9 commit 9f8dd79
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ public static boolean isValidSend(@NonNull Collection<MessageRecord> targetMessa
}

private static boolean isValidSend(MessageRecord message, long currentTime) {
return message.isOutgoing() &&
return !message.isUpdate() &&
message.isOutgoing() &&
message.isPush() &&
(!message.getRecipient().isGroup() || message.getRecipient().isActiveGroup()) &&
!message.getRecipient().isSelf() &&
Expand Down

0 comments on commit 9f8dd79

Please sign in to comment.