diff options
author | Vladimir <me@boku.ru> | 2018-01-29 17:56:07 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-01-30 18:51:41 +0300 |
commit | ac42d6d50636db69e56623b4b8093a5993c829d1 (patch) | |
tree | 71eeafa5e9b59d444a3073e3ac9d57845e5c285b /protocols/JabberG/src/jabber_caps.h | |
parent | 3d7ef20f11d1bfc7c75a16943a9c8cfcaef1408e (diff) |
Carbons support attempt
Diffstat (limited to 'protocols/JabberG/src/jabber_caps.h')
-rwxr-xr-x | protocols/JabberG/src/jabber_caps.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/protocols/JabberG/src/jabber_caps.h b/protocols/JabberG/src/jabber_caps.h index 66f033119d..fe69024b21 100755 --- a/protocols/JabberG/src/jabber_caps.h +++ b/protocols/JabberG/src/jabber_caps.h @@ -154,6 +154,9 @@ typedef unsigned __int64 JabberCapsBits; #define JABBER_FEAT_PUBSUB_EVENT L"http://jabber.org/protocol/pubsub#event"
#define JABBER_FEAT_PUBSUB_NODE_CONFIG L"http://jabber.org/protocol/pubsub#node_config"
+#define JABBER_FEAT_CARBONS L"urn:xmpp:carbons:2"
+#define JABBER_CAPS_CARBONS ((JabberCapsBits)1<<43)
+
#define JABBER_CAPS_MESSAGE_EVENTS_NO_DELIVERY ((JabberCapsBits)1<<63)
#define JABBER_CAPS_OTHER_SPECIAL (JABBER_CAPS_MESSAGE_EVENTS_NO_DELIVERY|JABBER_RESOURCE_CAPS_ERROR) // must contain all the caps not listed in g_JabberFeatCapPairs, to prevent using these bits for features registered through IJabberNetInterface::RegisterFeature()
@@ -168,6 +171,7 @@ typedef unsigned __int64 JabberCapsBits; JABBER_CAPS_USER_MOOD_NOTIFY | JABBER_CAPS_USER_TUNE_NOTIFY | JABBER_CAPS_USER_ACTIVITY_NOTIFY \
| JABBER_CAPS_PLATFORMX86 | JABBER_CAPS_PLATFORMX64)
+#define JABBER_XMLNS_FORWARD L"urn:xmpp:forward:0"
#define JABBER_EXT_SECUREIM L"secureim"
#define JABBER_EXT_MIROTR L"mirotr"
|