diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/FacebookRM/src/communication.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/communication.cpp b/protocols/FacebookRM/src/communication.cpp index 32b61499f8..6f14407941 100644 --- a/protocols/FacebookRM/src/communication.cpp +++ b/protocols/FacebookRM/src/communication.cpp @@ -977,7 +977,7 @@ bool facebook_client::chat_state(bool online) data += "&phstamp=0&__user=" + self_.user_id; http::response resp = flap(REQUEST_VISIBILITY, &data); - if (!resp.error_number) + if (!resp.error_title.empty()) return handle_error("chat_state"); return handle_success("chat_state"); |