summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-06-20 11:51:52 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-06-20 11:51:52 +0300
commit8e5996d46537833ce107babefc5cc0666ea96605 (patch)
tree5456883fc2220d150580f67eb5ab9376a4528ff1
parent68281344bad89af7d91010360258acb31e95e1b9 (diff)
fixes #2456 (Facebook: ERROR_QUEUE_NOT_FOUND Facebook bug)
-rw-r--r--protocols/Facebook/src/server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Facebook/src/server.cpp b/protocols/Facebook/src/server.cpp
index 96f159f5de..b2fc847768 100644
--- a/protocols/Facebook/src/server.cpp
+++ b/protocols/Facebook/src/server.cpp
@@ -581,8 +581,8 @@ void FacebookProto::OnPublishMessage(FbThriftReader &rdr)
if (!errorCode.IsEmpty()) {
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_sid = 0;
- delSetting(DBKEY_SID);
+ delSetting(DBKEY_SYNC_TOKEN); m_szSyncToken.Empty();
+ delSetting(DBKEY_SID); m_sid = 0;
if (!RefreshSid()) {
ConnectionFailed();
return;