mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 00:37:47 +00:00
204 is ok
This commit is contained in:
parent
44d59d0fd1
commit
6e640db39c
@ -319,7 +319,7 @@ public class PushServiceSocket {
|
||||
throw new NotFoundException("Not found");
|
||||
}
|
||||
|
||||
if (connection.getResponseCode() != 200) {
|
||||
if (connection.getResponseCode() != 200 && connection.getResponseCode() != 204) {
|
||||
throw new IOException("Bad response: " + connection.getResponseCode() + " " + connection.getResponseMessage());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user