summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-20 09:48:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-20 09:48:30 +0000
commitb45d268e7d86e223a3a59bc70b652f6989a431a9 (patch)
tree537dd774465a4788663644ca4eedf3e9a305534f /protocols
parentfedcd0462671c913f1b36e2111b3a5c8161f2b3e (diff)
secureim caps standardization
git-svn-id: http://svn.miranda-ng.org/main/trunk@2388 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/JabberG/src/jabber_misc.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/protocols/JabberG/src/jabber_misc.cpp b/protocols/JabberG/src/jabber_misc.cpp
index 5b1fe0da26..3884a47568 100644
--- a/protocols/JabberG/src/jabber_misc.cpp
+++ b/protocols/JabberG/src/jabber_misc.cpp
@@ -516,6 +516,12 @@ void CJabberProto::FormatMirVer(JABBER_RESOURCE_STATUS *resource, TCHAR *buf, in
}
// attach additional info for fingerprint plguin
+ if (resource->szCapsExt && _tcsstr(resource->szCapsExt, _T(JABBER_EXT_SECUREIM)) && !_tcsstr(buf, _T("(SecureIM)")))
+ {
+ int offset = lstrlen(buf);
+ mir_sntprintf(buf + offset, bufSize - offset, _T(" (SecureIM)"));
+ }
+
if (resource->resourceName && !_tcsstr(buf, resource->resourceName))
{
if (_tcsstr(buf, _T("Miranda IM")) || _tcsstr(buf, _T("Miranda NG")) || m_options.ShowForeignResourceInMirVer)
@@ -524,12 +530,6 @@ void CJabberProto::FormatMirVer(JABBER_RESOURCE_STATUS *resource, TCHAR *buf, in
mir_sntprintf(buf + offset, bufSize - offset, _T(" [%s]"), resource->resourceName);
}
}
-
- if (resource->szCapsExt && _tcsstr(resource->szCapsExt, _T(JABBER_EXT_SECUREIM)) && !_tcsstr(buf, _T("(SecureIM)")))
- {
- int offset = lstrlen(buf);
- mir_sntprintf(buf + offset, bufSize - offset, _T(" (SecureIM)"));
- }
}