summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_caps.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-12-23 18:52:25 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-12-23 18:52:25 +0000
commit4b283b1cf3004aebbb1f4807456a2cd0fdb5f30c (patch)
tree00ee44be29c5ac306109eb2cd9d1fc7047644b3f /protocols/JabberG/src/jabber_caps.h
parentaf8c5b336e9609ed9c53b877dd7f57fb3d7194b9 (diff)
- 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
Diffstat (limited to 'protocols/JabberG/src/jabber_caps.h')
-rw-r--r--protocols/JabberG/src/jabber_caps.h12
1 files changed, 10 insertions, 2 deletions
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