diff options
author | George Hazan <ghazan@miranda.im> | 2017-08-14 18:41:31 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-08-14 18:41:31 +0300 |
commit | b36c185dcad1ad0bf3ed33657620b3667b121b92 (patch) | |
tree | 994ac9bc85846cf1c8dd9358ffaca084979b14c3 /protocols | |
parent | 4baef0a80f8e9a51c4e4466d49cd6adde2d7eb15 (diff) |
Miranda core version to be added into MirVer if present
Diffstat (limited to 'protocols')
-rwxr-xr-x | protocols/JabberG/src/jabber_misc.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_misc.cpp b/protocols/JabberG/src/jabber_misc.cpp index 2c89d52b94..8b09052424 100755 --- a/protocols/JabberG/src/jabber_misc.cpp +++ b/protocols/JabberG/src/jabber_misc.cpp @@ -307,6 +307,9 @@ void CJabberProto::FormatMirVer(pResourceStatus &resource, CMStringW &res) // unknown software
const wchar_t *szDefaultName = GetSoftName(pCaps->GetNode());
res.Format(L"%s %s", (szDefaultName == nullptr) ? pCaps->GetSoft() : szDefaultName, pCaps->GetSoftVer());
+
+ if (pCaps->GetSoftMir())
+ res.AppendFormat(L" %s", pCaps->GetSoftMir());
}
// attach additional info for fingerprint plguin
@@ -335,7 +338,6 @@ void CJabberProto::FormatMirVer(pResourceStatus &resource, CMStringW &res) res.AppendFormat(L" [%s]", resource->m_tszResourceName);
}
-
void CJabberProto::UpdateMirVer(MCONTACT hContact, pResourceStatus &resource)
{
CMStringW tszMirVer;
|