diff options
author | Michael Vetter <jubalh@iodoru.org> | 2019-10-18 10:46:06 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2019-10-18 10:46:06 +0200 |
commit | 33083662d16121bbc5e890400a038d546dbedeb2 (patch) | |
tree | 766bead3c7a74312f10e53795c66ae78005796db /src/xmpp | |
parent | 430b2eaa0d3f8638f3442b3dca26d6bf4a4891cb (diff) | |
download | profani-tty-33083662d16121bbc5e890400a038d546dbedeb2.tar.gz |
Add XEP-0359 to capabilities
We implement </origin-id> 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 </stanza-id> 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
Diffstat (limited to 'src/xmpp')
-rw-r--r-- | src/xmpp/capabilities.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); } |