diff options
Diffstat (limited to 'protocols/SkypeWeb/src/requests/capabilities.h')
-rw-r--r-- | protocols/SkypeWeb/src/requests/capabilities.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/protocols/SkypeWeb/src/requests/capabilities.h b/protocols/SkypeWeb/src/requests/capabilities.h index f01036a5c3..eb972cafa5 100644 --- a/protocols/SkypeWeb/src/requests/capabilities.h +++ b/protocols/SkypeWeb/src/requests/capabilities.h @@ -41,30 +41,30 @@ public: CMStringA verString(::FORMAT, "%s x%d", g_szMirVer, bitness);
- JSONNODE *node = json_new(5);
+ JSONNODE *node = json_new(5);
JSONNODE *privateInfo = json_new(5);
- JSONNODE *publicInfo = json_new(5);
+ JSONNODE *publicInfo = json_new(5);
json_set_name(privateInfo, "privateInfo");
- json_set_name(publicInfo, "publicInfo");
+ json_set_name(publicInfo, "publicInfo");
- json_push_back(node, json_new_a ("id", "messagingService" ));
- json_push_back(node, json_new_a ("type", "EndpointPresenceDoc" ));
- json_push_back(node, json_new_a ("selfLink", "uri" ));
+ json_push_back(node, json_new_a("id", "messagingService"));
+ json_push_back(node, json_new_a("type", "EndpointPresenceDoc"));
+ json_push_back(node, json_new_a("selfLink", "uri"));
- json_push_back(privateInfo, json_new_a ("epname", compName ));
+ json_push_back(privateInfo, json_new_a("epname", compName));
- json_push_back(publicInfo, json_new_a ("capabilities", "Audio|Video" ));
- json_push_back(publicInfo, json_new_i ("typ", 125 ));
- json_push_back(publicInfo, json_new_a ("skypeNameVersion","Miranda NG Skype" ));
- json_push_back(publicInfo, json_new_a ("nodeInfo", "xx" ));
- json_push_back(publicInfo, json_new_a ("version", verString.GetBuffer() ));
+ json_push_back(publicInfo, json_new_a("capabilities", "Audio|Video"));
+ json_push_back(publicInfo, json_new_i("typ", 125));
+ json_push_back(publicInfo, json_new_a("skypeNameVersion", "Miranda NG Skype"));
+ json_push_back(publicInfo, json_new_a("nodeInfo", "xx"));
+ json_push_back(publicInfo, json_new_a("version", verString.GetBuffer()));
json_push_back(node, privateInfo);
json_push_back(node, publicInfo);
-
+
ptrA data(mir_utf8encodeT(ptrT(json_write(node))));
-
+
Body <<
VALUE(data);
|