diff options
author | George Hazan <ghazan@miranda.im> | 2020-03-24 16:10:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-03-24 16:10:02 +0300 |
commit | 8b91e6423697f9e76051b4b43c8463baee16ea94 (patch) | |
tree | 307246935689e0ca6d53b04ea3d92c93ef77e985 /protocols | |
parent | 01f025838429b746205f4d1f46b46a9acfac8848 (diff) |
another attempt to fix #2260
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Facebook/src/server.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Facebook/src/server.cpp b/protocols/Facebook/src/server.cpp index 506e59969c..c21f48dd8e 100644 --- a/protocols/Facebook/src/server.cpp +++ b/protocols/Facebook/src/server.cpp @@ -539,12 +539,13 @@ void FacebookProto::OnPublishMessage(FbThriftReader &rdr) CMStringA errorCode = root["errorCode"].as_mstring(); if (!errorCode.IsEmpty()) { - if (!m_QueueCreated && (errorCode == "ERROR_QUEUE_NOT_FOUND" || errorCode == "ERROR_QUEUE_LOST" )) { + if (!m_QueueCreated && (errorCode == "ERROR_QUEUE_OVERFLOW" || errorCode == "ERROR_QUEUE_NOT_FOUND" || errorCode == "ERROR_QUEUE_LOST" )) { m_QueueCreated = true; // prevent queue creation request from being sent twice m_szSyncToken.Empty(); delSetting(DBKEY_SYNC_TOKEN); MqttQueueConnect(); } + return; } |