kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix remove from group bug.
rodzic
3553a28683
commit
02c8656b92
|
@ -481,11 +481,11 @@ final class GroupManagerV2 {
|
||||||
}
|
}
|
||||||
|
|
||||||
@WorkerThread
|
@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
|
throws GroupChangeFailedException, GroupInsufficientRightsException, IOException, GroupNotAMemberException
|
||||||
{
|
{
|
||||||
return commitChangeWithConflictResolution(authServiceId,
|
return commitChangeWithConflictResolution(selfAci,
|
||||||
groupOperations.createRemoveMembersChange(Collections.singleton(authServiceId.uuid()),
|
groupOperations.createRemoveMembersChange(Collections.singleton(serviceId.uuid()),
|
||||||
ban,
|
ban,
|
||||||
ban ? v2GroupProperties.getDecryptedGroup().getBannedMembersList()
|
ban ? v2GroupProperties.getDecryptedGroup().getBannedMembersList()
|
||||||
: Collections.emptyList()),
|
: Collections.emptyList()),
|
||||||
|
|
Ładowanie…
Reference in New Issue