diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-29 12:22:13 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-01-29 12:22:13 +0000 |
commit | 7e367862550616802b29a38067bbc1b49e81a10c (patch) | |
tree | 2fcb8659f8d9eed09dfc05657fab32a7f16aca72 /protocols/JabberG/src/jabber_misc.cpp | |
parent | 470cb1075fa98894cdb557464b183a00a6de63bf (diff) |
added new_gpg caps
git-svn-id: http://svn.miranda-ng.org/main/trunk@3336 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_misc.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_misc.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_misc.cpp b/protocols/JabberG/src/jabber_misc.cpp index a96c88618a..a714f16b08 100644 --- a/protocols/JabberG/src/jabber_misc.cpp +++ b/protocols/JabberG/src/jabber_misc.cpp @@ -528,6 +528,12 @@ void CJabberProto::FormatMirVer(JABBER_RESOURCE_STATUS *resource, TCHAR *buf, in mir_sntprintf(buf + offset, bufSize - offset, _T(" (MirOTR)"));
}
+ if (resource->szCapsExt && _tcsstr(resource->szCapsExt, _T(JABBER_EXT_NEWGPG)) && !_tcsstr(buf, _T("(New_GPG)")))
+ {
+ int offset = lstrlen(buf);
+ mir_sntprintf(buf + offset, bufSize - offset, _T(" (New_GPG)"));
+ }
+
if (resource->resourceName && !_tcsstr(buf, resource->resourceName))
{
if (_tcsstr(buf, _T("Miranda IM")) || _tcsstr(buf, _T("Miranda NG")) || m_options.ShowForeignResourceInMirVer)
|