diff options
Diffstat (limited to 'protocols/JabberG')
-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));
|