From f37836a977f7796a756834fa76bac349c8b8490f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 16 Jul 2020 16:15:56 +0300 Subject: fixes #2476 (Facebook: ERROR_QUEUE_EXCEEDS_MAX_DELTAS) --- protocols/Facebook/src/server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Facebook/src/server.cpp') 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; -- cgit v1.2.3