From e9099acd9748aee2a2e79beb8af4df53d6ea7e06 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Wed, 3 Jul 2019 18:01:46 +0200 Subject: [PATCH] accept status code 201 for Quicksy registration --- .../siacs/conversations/services/QuickConversationsService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quicksy/java/eu/siacs/conversations/services/QuickConversationsService.java b/src/quicksy/java/eu/siacs/conversations/services/QuickConversationsService.java index d5db6d436..cfa2f7775 100644 --- a/src/quicksy/java/eu/siacs/conversations/services/QuickConversationsService.java +++ b/src/quicksy/java/eu/siacs/conversations/services/QuickConversationsService.java @@ -203,7 +203,7 @@ public class QuickConversationsService extends AbstractQuickConversationsService os.close(); connection.connect(); final int code = connection.getResponseCode(); - if (code == 200) { + if (code == 200 || code == 201) { account.setOption(Account.OPTION_UNVERIFIED, false); account.setOption(Account.OPTION_DISABLED, false); awaitingAccountStateChange = new CountDownLatch(1);