diff options
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 4 | ||||
-rw-r--r-- | protocols/FacebookRM/src/version.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index 0196d58c57..d0c62cae5f 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -1309,7 +1309,7 @@ bool facebook_client::channel() this->chat_sticky_num_ = utils::text::source_get_value2(&resp.data, "\"sticky\":\"", "\""); parent->debugLogA(" Got self sticky number: %s", this->chat_sticky_num_.c_str()); } - if (type == "refresh") { + else if (type == "refresh") { // Requested relogin (due to some settings change, removing this session, etc.) parent->debugLogA("!!! Requested refresh"); @@ -1320,7 +1320,7 @@ bool facebook_client::channel() parent->debugLogA(" Got reconnect reason: %s", this->chat_reconnect_reason_.c_str()); return this->reconnect(); - } + } else if (!type.empty()) { // for "msg", "fullReload" and maybe also other types // Something has been received, throw to new thread to process std::string* response_data = new std::string(resp.data); diff --git a/protocols/FacebookRM/src/version.h b/protocols/FacebookRM/src/version.h index 6ac30259db..debfa9ac95 100644 --- a/protocols/FacebookRM/src/version.h +++ b/protocols/FacebookRM/src/version.h @@ -1,7 +1,7 @@ #define __MAJOR_VERSION 0 #define __MINOR_VERSION 2 #define __RELEASE_NUM 14 -#define __BUILD_NUM 2 +#define __BUILD_NUM 3 #include <stdver.h> |