From 50351222fcb270449c1bc452ea590704ee403416 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 21 Dec 2018 23:35:05 +0300 Subject: Facebook -> sync MHttpRequest --- protocols/FacebookRM/src/status.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'protocols/FacebookRM/src/status.cpp') diff --git a/protocols/FacebookRM/src/status.cpp b/protocols/FacebookRM/src/status.cpp index 0c1d5e5421..f60f0ff80e 100644 --- a/protocols/FacebookRM/src/status.cpp +++ b/protocols/FacebookRM/src/status.cpp @@ -29,8 +29,7 @@ HttpRequest* facebook_client::reconnectRequest() { HttpRequest *p = new HttpRequest(REQUEST_GET, FACEBOOK_SERVER_REGULAR "/ajax/presence/reconnect.php"); - p->Url - << INT_PARAM("__a", 1) + p << INT_PARAM("__a", 1) << CHAR_PARAM("__pc", "PHASED:DEFAULT") << INT_PARAM("__be", -1) << CHAR_PARAM("reason", chat_reconnect_reason_.empty() ? "6" : chat_reconnect_reason_.c_str()) @@ -50,7 +49,7 @@ HttpRequest* facebook_client::setVisibilityRequest(bool online) { HttpRequest *p = new HttpRequest(REQUEST_POST, FACEBOOK_SERVER_REGULAR "/ajax/chat/privacy/visibility.php"); - p->Url << INT_PARAM("dpr", 1); + p << INT_PARAM("dpr", 1); p->Body << INT_PARAM("visibility", online ? 1 : 0) -- cgit v1.2.3