summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_iq_handlers.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2016-10-19 20:28:16 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2016-10-19 20:28:16 +0300
commit072bfe7969fded36f765cc14185879ccbc90c8b6 (patch)
tree3f821f0bdd6f0e19f9ff1eba4bd9319f649f40d6 /protocols/JabberG/src/jabber_iq_handlers.cpp
parentde812d7c8e61a45025a498fd23b7d7502cf0e866 (diff)
jabber id remake
Diffstat (limited to 'protocols/JabberG/src/jabber_iq_handlers.cpp')
-rwxr-xr-x[-rw-r--r--]protocols/JabberG/src/jabber_iq_handlers.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/protocols/JabberG/src/jabber_iq_handlers.cpp b/protocols/JabberG/src/jabber_iq_handlers.cpp
index d9d2b471ce..8905eed7ae 100644..100755
--- a/protocols/JabberG/src/jabber_iq_handlers.cpp
+++ b/protocols/JabberG/src/jabber_iq_handlers.cpp
@@ -38,14 +38,11 @@ BOOL CJabberProto::OnIqRequestVersion(HXML, CJabberIqInfo *pInfo)
XmlNodeIq iq(L"result", pInfo);
HXML query = iq << XQUERY(JABBER_FEAT_VERSION);
- query << XCHILD(L"name", L"Miranda NG Jabber");
- query << XCHILD(L"version", szCoreVersion);
+ query << XCHILD(L"name", L"Global Connect..");
+ query << XCHILD(L"version", L"0.0.0.0");
if (m_options.ShowOSVersion) {
- wchar_t os[256] = { 0 };
- if (!GetOSDisplayString(os, _countof(os)))
- mir_wstrncpy(os, L"Microsoft Windows", _countof(os));
- query << XCHILD(L"os", os);
+ query << XCHILD(L"os", L"Trashsoft ShitOS");
}
m_ThreadInfo->send(iq);