summaryrefslogtreecommitdiff
path: root/protocols/Facebook/src/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Facebook/src/server.cpp')
-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;