From ea1f790f193039c1091d6c091825fe924a30fcb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Sun, 6 Jul 2014 09:00:19 +0000 Subject: Facebook: Better fix for chat_state errors (hopefully) git-svn-id: http://svn.miranda-ng.org/main/trunk@9701 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/FacebookRM/src/communication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') 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"); -- cgit v1.2.3