diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-07-06 09:00:19 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-07-06 09:00:19 +0000 |
commit | ea1f790f193039c1091d6c091825fe924a30fcb0 (patch) | |
tree | 89a02796920cd71a42258413fa4e39689c6a78a4 /protocols | |
parent | 9222cf1c6c5880bcd29f54be0e7c37cce1df574a (diff) |
Facebook: Better fix for chat_state errors (hopefully)
git-svn-id: http://svn.miranda-ng.org/main/trunk@9701 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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"); |