From 33083662d16121bbc5e890400a038d546dbedeb2 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Fri, 18 Oct 2019 10:46:06 +0200 Subject: Add XEP-0359 to capabilities We implement from [XEP-0359](https://xmpp.org/extensions/xep-0359.html). We already had this implemented for OMEMO. And now use it to check whether MUC messages were sent from us (https://github.com/profanity-im/profanity/issues/1201). We don't implement yet, but probably need to do so for MAM. Anyways let's flag this as implementing the XEP. Fix https://github.com/profanity-im/profanity/issues/1207 --- src/xmpp/capabilities.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/xmpp') diff --git a/src/xmpp/capabilities.c b/src/xmpp/capabilities.c index 8d66b25a..5216119e 100644 --- a/src/xmpp/capabilities.c +++ b/src/xmpp/capabilities.c @@ -102,6 +102,7 @@ caps_init(void) g_hash_table_add(prof_features, strdup(STANZA_NS_VERSION)); g_hash_table_add(prof_features, strdup(STANZA_NS_CHATSTATES)); g_hash_table_add(prof_features, strdup(STANZA_NS_PING)); + g_hash_table_add(prof_features, strdup(STANZA_NS_STABLE_ID)); if (prefs_get_boolean(PREF_RECEIPTS_SEND)) { g_hash_table_add(prof_features, strdup(STANZA_NS_RECEIPTS)); } -- cgit 1.4.1-2-gfad0