summaryrefslogtreecommitdiff
path: root/protocols/FacebookRM/src/notifications.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-12-21 23:35:05 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-12-21 23:35:05 +0300
commit50351222fcb270449c1bc452ea590704ee403416 (patch)
treee1dcebde8130f85b1af334d1eeae19220d459f38 /protocols/FacebookRM/src/notifications.cpp
parent87694f0fb5d928952c1480a34cb4eb6e13b80259 (diff)
Facebook -> sync MHttpRequest
Diffstat (limited to 'protocols/FacebookRM/src/notifications.cpp')
-rw-r--r--protocols/FacebookRM/src/notifications.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/FacebookRM/src/notifications.cpp b/protocols/FacebookRM/src/notifications.cpp
index 516b80be20..382837648a 100644
--- a/protocols/FacebookRM/src/notifications.cpp
+++ b/protocols/FacebookRM/src/notifications.cpp
@@ -29,7 +29,7 @@ HttpRequest* facebook_client::getNotificationsRequest(int count)
{
HttpRequest *p = new HttpRequest(REQUEST_POST, FACEBOOK_SERVER_REGULAR "/ajax/notifications/client/get.php");
- p->Url << INT_PARAM("dpr", 1);
+ p << INT_PARAM("dpr", 1);
p->Body
<< CHAR_PARAM("__user", self_.user_id.c_str())
@@ -53,8 +53,7 @@ HttpRequest* facebook_client::markNotificationReadRequest(const char *id)
{
HttpRequest *p = new HttpRequest(REQUEST_GET, FACEBOOK_SERVER_REGULAR "/ajax/notifications/mark_read.php");
- p->Url
- << INT_PARAM("__a", 1)
+ p << INT_PARAM("__a", 1)
<< INT_PARAM("seen", 0)
<< CHAR_PARAM("fb_dtsg", dtsg_.c_str())
<< CHAR_PARAM("__user", self_.user_id.c_str())