Prevent updates to blocked groups.

This commit is contained in:
Cody Henthorne
2022-01-24 14:21:21 -05:00
committed by GitHub
parent 35d0f1fc8c
commit 642d37edb2
6 changed files with 29 additions and 8 deletions

View File

@@ -624,7 +624,7 @@ public class ConversationParentFragment extends Fragment
setBlockedUserState(recipientSnapshot, isSecureText, isDefaultSms);
calculateCharactersRemaining();
if (recipientSnapshot.getGroupId().isPresent() && recipientSnapshot.getGroupId().get().isV2()) {
if (recipientSnapshot.getGroupId().isPresent() && recipientSnapshot.getGroupId().get().isV2() && !recipientSnapshot.isBlocked()) {
GroupId.V2 groupId = recipientSnapshot.getGroupId().get().requireV2();
ApplicationDependencies.getJobManager()