diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-03 22:10:35 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-03 22:10:35 +0000 |
commit | d416a9f1d9b25fd782e0ce33a08ad0656b5893c5 (patch) | |
tree | 9295df2a9bb691eca12f2f521e5923fe3b7af385 /protocols | |
parent | 2aa97b252de70c56a6c9b38157acb3dcded7d8f1 (diff) |
fix for the wrong JIDs displaying in tabSRMM info panel
git-svn-id: http://svn.miranda-ng.org/main/trunk@7484 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/JabberG/src/jabber_misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_misc.cpp b/protocols/JabberG/src/jabber_misc.cpp index 0cff2727c5..d5112e81da 100644 --- a/protocols/JabberG/src/jabber_misc.cpp +++ b/protocols/JabberG/src/jabber_misc.cpp @@ -449,7 +449,7 @@ void CJabberProto::UpdateMirVer(HANDLE hContact, pResourceStatus &resource) return;
TCHAR szFullJid[JABBER_MAX_JID_LEN];
- if (resource->m_tszResourceName)
+ if (resource->m_tszResourceName && !_tcschr(jid, '/'))
mir_sntprintf(szFullJid, SIZEOF(szFullJid), _T("%s/%s"), jid, resource->m_tszResourceName);
else
lstrcpyn(szFullJid, jid, SIZEOF(szFullJid));
|