summaryrefslogtreecommitdiff
path: root/protocols/Facebook/src/server.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-07-16 16:15:56 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-07-16 16:15:56 +0300
commitf37836a977f7796a756834fa76bac349c8b8490f (patch)
treec2e851872729f195d712de6688543f6145b9a88a /protocols/Facebook/src/server.cpp
parent4c2ae0ac2807781bdd6453f10a94c965cf0e5a81 (diff)
fixes #2476 (Facebook: ERROR_QUEUE_EXCEEDS_MAX_DELTAS)
Diffstat (limited to 'protocols/Facebook/src/server.cpp')
-rw-r--r--protocols/Facebook/src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Facebook/src/server.cpp b/protocols/Facebook/src/server.cpp
index b2fc847768..d8fb1e2a1b 100644
--- a/protocols/Facebook/src/server.cpp
+++ b/protocols/Facebook/src/server.cpp
@@ -579,7 +579,7 @@ void FacebookProto::OnPublishMessage(FbThriftReader &rdr)
CMStringA errorCode = root["errorCode"].as_mstring();
if (!errorCode.IsEmpty()) {
- if (!m_QueueCreated && (errorCode == "ERROR_QUEUE_OVERFLOW" || 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" || errorCode == "ERROR_QUEUE_EXCEEDS_MAX_DELTAS")) {
m_QueueCreated = true; // prevent queue creation request from being sent twice
delSetting(DBKEY_SYNC_TOKEN); m_szSyncToken.Empty();
delSetting(DBKEY_SID); m_sid = 0;