From 4b283b1cf3004aebbb1f4807456a2cd0fdb5f30c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 23 Dec 2012 18:52:25 +0000 Subject: - XEP-0136 support (server-side message history); - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@2816 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_caps.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'protocols/JabberG/src/jabber_caps.h') diff --git a/protocols/JabberG/src/jabber_caps.h b/protocols/JabberG/src/jabber_caps.h index d9597590fe..ac9b1f28ef 100644 --- a/protocols/JabberG/src/jabber_caps.h +++ b/protocols/JabberG/src/jabber_caps.h @@ -114,7 +114,15 @@ typedef unsigned __int64 JabberCapsBits; #define JABBER_CAPS_USER_TUNE_NOTIFY ((JabberCapsBits)1<<32) #define JABBER_FEAT_PRIVATE_STORAGE "jabber:iq:private" #define JABBER_CAPS_PRIVATE_STORAGE ((JabberCapsBits)1<<33) -#define JABBER_FEAT_CAPTCHA "urn:xmpp:captcha" + +#define JABBER_FEAT_ARCHIVE "urn:xmpp:archive" +#define JABBER_FEAT_ARCHIVE_AUTO "urn:xmpp:archive:auto" +#define JABBER_CAPS_ARCHIVE_AUTO ((JabberCapsBits)1<<34) +#define JABBER_FEAT_ARCHIVE_MANAGE "urn:xmpp:archive:manage" +#define JABBER_CAPS_ARCHIVE_MANAGE ((JabberCapsBits)1<<35) + +#define JABBER_FEAT_CAPTCHA "urn:xmpp:captcha" + // deferred #define JABBER_FEAT_ATTENTION "http://www.xmpp.org/extensions/xep-0224.html#ns" #define JABBER_CAPS_ATTENTION ((JabberCapsBits)1<<34) @@ -270,7 +278,7 @@ struct JabberFeatCapPair { const TCHAR *szFeature; JabberCapsBits jcbCap; - const TCHAR *szDescription; + const TCHAR *tszDescription; }; struct JabberFeatCapPairDynamic -- cgit v1.2.3