From 02c8656b92e36c9a664f5c9d7a5176c4dfb2b473 Mon Sep 17 00:00:00 2001 From: Cody Henthorne Date: Mon, 9 May 2022 12:13:52 -0400 Subject: [PATCH] Fix remove from group bug. --- .../org/thoughtcrime/securesms/groups/GroupManagerV2.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/groups/GroupManagerV2.java b/app/src/main/java/org/thoughtcrime/securesms/groups/GroupManagerV2.java index 6d709c24d..ee7a8273c 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/groups/GroupManagerV2.java +++ b/app/src/main/java/org/thoughtcrime/securesms/groups/GroupManagerV2.java @@ -481,11 +481,11 @@ final class GroupManagerV2 { } @WorkerThread - @NonNull GroupManager.GroupActionResult ejectMember(@NonNull ServiceId authServiceId, boolean allowWhenBlocked, boolean ban) + @NonNull GroupManager.GroupActionResult ejectMember(@NonNull ServiceId serviceId, boolean allowWhenBlocked, boolean ban) throws GroupChangeFailedException, GroupInsufficientRightsException, IOException, GroupNotAMemberException { - return commitChangeWithConflictResolution(authServiceId, - groupOperations.createRemoveMembersChange(Collections.singleton(authServiceId.uuid()), + return commitChangeWithConflictResolution(selfAci, + groupOperations.createRemoveMembersChange(Collections.singleton(serviceId.uuid()), ban, ban ? v2GroupProperties.getDecryptedGroup().getBannedMembersList() : Collections.emptyList()),