mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-05-08 09:18:39 +01:00
Fix groups v2 patch response handler.
This commit is contained in:
committed by
Greyson Parrelli
parent
204a84c522
commit
12b1232ac0
-1
@@ -1844,7 +1844,6 @@ public class PushServiceSocket {
|
|||||||
};
|
};
|
||||||
private static final ResponseCodeHandler GROUPS_V2_PATCH_RESPONSE_HANDLER = responseCode -> {
|
private static final ResponseCodeHandler GROUPS_V2_PATCH_RESPONSE_HANDLER = responseCode -> {
|
||||||
if (responseCode == 400) throw new GroupPatchNotAcceptedException();
|
if (responseCode == 400) throw new GroupPatchNotAcceptedException();
|
||||||
if (responseCode == 403) throw new NotInGroupException();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
public void putNewGroupsV2Group(Group group, GroupsV2AuthorizationString authorization)
|
public void putNewGroupsV2Group(Group group, GroupsV2AuthorizationString authorization)
|
||||||
|
|||||||
Reference in New Issue
Block a user