From b36c185dcad1ad0bf3ed33657620b3667b121b92 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 14 Aug 2017 18:41:31 +0300 Subject: Miranda core version to be added into MirVer if present --- protocols/JabberG/src/jabber_misc.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3