diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-10 13:21:25 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-10 13:21:25 +0000 |
commit | 75beae890b1f18d5753748f4935731ed93579ef8 (patch) | |
tree | 5cb0461034ec9b19db4b2d928caf79d6746b0974 /protocols/SkypeWeb/src/requests/subscriptions.h | |
parent | e0ec38eb49bfd8dcddd4e46cbbca4fed98028b01 (diff) |
flags fix
cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@13506 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests/subscriptions.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/subscriptions.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/requests/subscriptions.h b/protocols/SkypeWeb/src/requests/subscriptions.h index d0f8c60460..718d342d72 100644 --- a/protocols/SkypeWeb/src/requests/subscriptions.h +++ b/protocols/SkypeWeb/src/requests/subscriptions.h @@ -28,13 +28,13 @@ public: << CHAR_VALUE("Accept", "application/json, text/javascript")
<< FORMAT_VALUE("RegistrationToken", "registrationToken=%s", regToken)
<< CHAR_VALUE("Content-Type", "application/json; charset=UTF-8");
-
+
JSONNODE *node = json_new(5);
JSONNODE *interestedResources = json_new(4);
json_set_name(interestedResources, "interestedResources");
json_push_back(node, json_new_a("channelType", "httpLongPoll"));
- json_push_back(node, json_new_a("template", "raw" ));
+ json_push_back(node, json_new_a("template", "raw"));
json_push_back(interestedResources, json_new_a(NULL, "/v1/users/ME/conversations/ALL/properties"));
json_push_back(interestedResources, json_new_a(NULL, "/v1/users/ME/conversations/ALL/messages"));
@@ -43,7 +43,7 @@ public: json_push_back(node, interestedResources);
ptrA data(mir_utf8encodeT(ptrT(json_write(node))));
-
+
Body << VALUE(data);
json_delete(node);
|