aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/xep/0045_muc
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2019-12-18 18:23:31 +0100
committerfiaxh <git@lightrise.org>2019-12-18 20:35:04 +0100
commit321c3529f3fedbd5eaa9cd619ee408fb683921ca (patch)
tree3743e39ee2a8225ed8d1c2bb1259e17b22a1fa47 /xmpp-vala/src/module/xep/0045_muc
parent9fe8450571e49aaf376d07b379968c575bc0445c (diff)
downloaddino-321c3529f3fedbd5eaa9cd619ee408fb683921ca.tar.gz
dino-321c3529f3fedbd5eaa9cd619ee408fb683921ca.zip
Add (partial) support for unique stanza ids (XEP-0359)
Diffstat (limited to 'xmpp-vala/src/module/xep/0045_muc')
-rw-r--r--xmpp-vala/src/module/xep/0045_muc/module.vala2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmpp-vala/src/module/xep/0045_muc/module.vala b/xmpp-vala/src/module/xep/0045_muc/module.vala
index 3ff28b2b..b30145ff 100644
--- a/xmpp-vala/src/module/xep/0045_muc/module.vala
+++ b/xmpp-vala/src/module/xep/0045_muc/module.vala
@@ -48,6 +48,7 @@ public enum Feature {
PUBLIC,
ROOMS,
SEMI_ANONYMOUS,
+ STABLE_ID,
TEMPORARY,
UNMODERATED,
UNSECURED
@@ -376,6 +377,7 @@ public class Module : XmppStreamModule {
case "http://jabber.org/protocol/muc#register": parsed = Feature.REGISTER; break;
case "http://jabber.org/protocol/muc#roomconfig": parsed = Feature.ROOMCONFIG; break;
case "http://jabber.org/protocol/muc#roominfo": parsed = Feature.ROOMINFO; break;
+ case "http://jabber.org/protocol/muc#stable_id": parsed = Feature.STABLE_ID; break;
case "muc_hidden": parsed = Feature.HIDDEN; break;
case "muc_membersonly": parsed = Feature.MEMBERS_ONLY; break;
case "muc_moderated": parsed = Feature.MODERATED; break;