mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-08 18:58:39 +00:00
Fix groups v2 patch response handler.
This commit is contained in:
parent
204a84c522
commit
12b1232ac0
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user