accept status code 201 for Quicksy registration
This commit is contained in:
parent
feba9a71ee
commit
e9099acd97
|
@ -203,7 +203,7 @@ public class QuickConversationsService extends AbstractQuickConversationsService
|
||||||
os.close();
|
os.close();
|
||||||
connection.connect();
|
connection.connect();
|
||||||
final int code = connection.getResponseCode();
|
final int code = connection.getResponseCode();
|
||||||
if (code == 200) {
|
if (code == 200 || code == 201) {
|
||||||
account.setOption(Account.OPTION_UNVERIFIED, false);
|
account.setOption(Account.OPTION_UNVERIFIED, false);
|
||||||
account.setOption(Account.OPTION_DISABLED, false);
|
account.setOption(Account.OPTION_DISABLED, false);
|
||||||
awaitingAccountStateChange = new CountDownLatch(1);
|
awaitingAccountStateChange = new CountDownLatch(1);
|
||||||
|
|
Loading…
Reference in New Issue