summaryrefslogtreecommitdiff
path: root/src/xmpp/xmpp_component.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2018-03-18 19:37:41 +0100
committerlouiz’ <louiz@louiz.org>2018-03-18 19:37:41 +0100
commit0de282a177baa0ed2d38a68715e78344172894ca (patch)
tree480de27e0cd5f09eefa5e74dd2e27ba1642cf97f /src/xmpp/xmpp_component.hpp
parent9500bfd4ccb21b261fd8204180d78553704f7acc (diff)
downloadbiboumi-0de282a177baa0ed2d38a68715e78344172894ca.tar.gz
biboumi-0de282a177baa0ed2d38a68715e78344172894ca.tar.bz2
biboumi-0de282a177baa0ed2d38a68715e78344172894ca.tar.xz
biboumi-0de282a177baa0ed2d38a68715e78344172894ca.zip
Advertise the muc#stable_id feature on disco#info results
From XEP 0045: “Note: the requirement to reflect the 'id' attribute was added in version 1.31 of this XEP. Servers following the new specification SHOULD advertise that with a disco info feature of 'http://jabber.org/protocol/muc#stable_id' on both the service domain and on individual MUCs, so that clients can check for support.”
Diffstat (limited to 'src/xmpp/xmpp_component.hpp')
-rw-r--r--src/xmpp/xmpp_component.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp
index b11e56c..e18da40 100644
--- a/src/xmpp/xmpp_component.hpp
+++ b/src/xmpp/xmpp_component.hpp
@@ -37,6 +37,7 @@
#define RSM_NS "http://jabber.org/protocol/rsm"
#define MUC_TRAFFIC_NS "http://jabber.org/protocol/muc#traffic"
#define STABLE_ID_NS "urn:xmpp:sid:0"
+#define STABLE_MUC_ID_NS "http://jabber.org/protocol/muc#stable_id"
/**
* An XMPP component, communicating with an XMPP server using the protocole