From ac42d6d50636db69e56623b4b8093a5993c829d1 Mon Sep 17 00:00:00 2001 From: Vladimir Date: Mon, 29 Jan 2018 17:56:07 +0300 Subject: Carbons support attempt --- protocols/JabberG/src/jabber_caps.h | 4 ++++ 1 file changed, 4 insertions(+) (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 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" -- cgit v1.2.3