summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_util.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-01-29 12:10:18 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-01-29 12:10:18 +0000
commit470cb1075fa98894cdb557464b183a00a6de63bf (patch)
treeedab8097270d250f5b16b3193b130478de62bfd9 /protocols/JabberG/src/jabber_util.cpp
parent9068108458bf48de4af3a4f852ce128751e7dc73 (diff)
added mirotr caps
git-svn-id: http://svn.miranda-ng.org/main/trunk@3335 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_util.cpp')
-rw-r--r--protocols/JabberG/src/jabber_util.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp
index a5b41add1e..caa2f0929b 100644
--- a/protocols/JabberG/src/jabber_util.cpp
+++ b/protocols/JabberG/src/jabber_util.cpp
@@ -30,7 +30,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern CRITICAL_SECTION mutex;
-extern int bSecureIM;
+extern int bSecureIM, bMirOTR;
void CJabberProto::SerialInit(void)
{
@@ -833,6 +833,12 @@ void CJabberProto::SendPresenceTo(int status, TCHAR* to, HXML extra, const TCHAR
_tcscat(szExtCaps, _T(JABBER_EXT_SECUREIM));
}
+ if (bMirOTR) {
+ if (szExtCaps[0])
+ _tcscat(szExtCaps, _T(" "));
+ _tcscat(szExtCaps, _T(JABBER_EXT_MIROTR));
+ }
+
if (m_options.EnableRemoteControl) {
if (szExtCaps[0])
_tcscat(szExtCaps, _T(" "));