diff options
author | George Hazan <ghazan@miranda.im> | 2018-12-21 23:35:05 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-12-21 23:35:05 +0300 |
commit | 50351222fcb270449c1bc452ea590704ee403416 (patch) | |
tree | e1dcebde8130f85b1af334d1eeae19220d459f38 /protocols/FacebookRM/src/status.cpp | |
parent | 87694f0fb5d928952c1480a34cb4eb6e13b80259 (diff) |
Facebook -> sync MHttpRequest
Diffstat (limited to 'protocols/FacebookRM/src/status.cpp')
-rw-r--r-- | protocols/FacebookRM/src/status.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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) |