summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/requests
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-05-02 17:57:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-05-02 17:57:25 +0000
commitdd8eb413a02d175573a30bedc01b06e5dad9af9d (patch)
tree0c4af6cbc7c8095a6c5234f0467688a9a7ccbd42 /protocols/SkypeWeb/src/requests
parentcac4fe1a1a81d3262af46be94a85f69b81021ccc (diff)
m_version.h removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@13383 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/requests')
-rw-r--r--protocols/SkypeWeb/src/requests/capabilities.h2
-rw-r--r--protocols/SkypeWeb/src/requests/contacts.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/requests/capabilities.h b/protocols/SkypeWeb/src/requests/capabilities.h
index 573cec1673..1fe909a962 100644
--- a/protocols/SkypeWeb/src/requests/capabilities.h
+++ b/protocols/SkypeWeb/src/requests/capabilities.h
@@ -34,7 +34,7 @@ public:
#ifdef _WIN64
bitness = 64;
#endif
- data.AppendFormat("{\"id\":\"messagingService\",\"type\":\"EndpointPresenceDoc\",\"selfLink\":\"uri\",\"privateInfo\":{\"epname\":\"Miranda\"},\"publicInfo\":{\"capabilities\":\"Audio|Video\",\"typ\":125,\"skypeNameVersion\":\"Miranda NG Skype\",\"nodeInfo\":\"xx\",\"version\":\"%s x%d\"}}", MIRANDA_VERSION_STRING, bitness);
+ data.AppendFormat("{\"id\":\"messagingService\",\"type\":\"EndpointPresenceDoc\",\"selfLink\":\"uri\",\"privateInfo\":{\"epname\":\"Miranda\"},\"publicInfo\":{\"capabilities\":\"Audio|Video\",\"typ\":125,\"skypeNameVersion\":\"Miranda NG Skype\",\"nodeInfo\":\"xx\",\"version\":\"%s x%d\"}}", g_szMirVer, bitness);
Body <<
VALUE(data);
diff --git a/protocols/SkypeWeb/src/requests/contacts.h b/protocols/SkypeWeb/src/requests/contacts.h
index 83e51fefc0..1d01ae9cc5 100644
--- a/protocols/SkypeWeb/src/requests/contacts.h
+++ b/protocols/SkypeWeb/src/requests/contacts.h
@@ -136,7 +136,7 @@ public:
Body
<< CHAR_VALUE("reporterIp", "123.123.123.123") //TODO: user ip address
- << CHAR_VALUE("uiVersion", MIRANDA_VERSION_STRING);
+ << CHAR_VALUE("uiVersion", g_szMirVer);
}
};
@@ -153,7 +153,7 @@ public:
Body
<< CHAR_VALUE("reporterIp", "123.123.123.123") //TODO: user ip address
- << CHAR_VALUE("uiVersion", MIRANDA_VERSION_STRING);
+ << CHAR_VALUE("uiVersion", g_szMirVer);
}
};