summaryrefslogtreecommitdiff
path: root/protocols/Facebook
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-03-24 16:10:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-03-24 16:10:02 +0300
commit8b91e6423697f9e76051b4b43c8463baee16ea94 (patch)
tree307246935689e0ca6d53b04ea3d92c93ef77e985 /protocols/Facebook
parent01f025838429b746205f4d1f46b46a9acfac8848 (diff)
another attempt to fix #2260
Diffstat (limited to 'protocols/Facebook')
-rw-r--r--protocols/Facebook/src/server.cpp3
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;
}