diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-30 06:47:14 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-30 06:47:14 +0000 |
commit | 8de2f467bba5976ade5071193eed07fc7ca098ed (patch) | |
tree | 7fa15f0988e50fa949812001426286ced0ece2eb /protocols/JabberG/src/jabber_util.cpp | |
parent | e06676ea085e2fab7f49655ef48c7608cff307b1 (diff) |
added platform caps
git-svn-id: http://svn.miranda-ng.org/main/trunk@3351 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_util.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_util.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp index 983f33392c..4790bde7e1 100644 --- a/protocols/JabberG/src/jabber_util.cpp +++ b/protocols/JabberG/src/jabber_util.cpp @@ -30,7 +30,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. extern CRITICAL_SECTION mutex;
-extern int bSecureIM, bMirOTR, bNewGPG;
+extern int bSecureIM, bMirOTR, bNewGPG, bPlatform;
void CJabberProto::SerialInit(void)
{
@@ -845,6 +845,16 @@ void CJabberProto::SendPresenceTo(int status, TCHAR* to, HXML extra, const TCHAR _tcscat(szExtCaps, _T(JABBER_EXT_NEWGPG));
}
+ if (bPlatform) {
+ if (szExtCaps[0])
+ _tcscat(szExtCaps, _T(" "));
+ _tcscat(szExtCaps, _T(JABBER_EXT_PLATFORMX64));
+ } else {
+ if (szExtCaps[0])
+ _tcscat(szExtCaps, _T(" "));
+ _tcscat(szExtCaps, _T(JABBER_EXT_PLATFORMX86));
+ }
+
if (m_options.EnableRemoteControl) {
if (szExtCaps[0])
_tcscat(szExtCaps, _T(" "));
|