aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-10-05 17:02:32 +0200
committerKim Alvefur <zash@zash.se>2021-10-05 17:02:32 +0200
commit7f60bc8f3e09630e8c88d044a73aad3e8bd644fe (patch)
treed77d781c60018816d5ba973b0a8551bd4d8ce036
parentcc49e02caeb7f658f01ddea2822b1fa1a2d0d7f6 (diff)
downloadprosody-7f60bc8f3e09630e8c88d044a73aad3e8bd644fe.tar.gz
prosody-7f60bc8f3e09630e8c88d044a73aad3e8bd644fe.zip
mod_carbons: Advertise following of recommended rules (closes #1486)
We're doing our best!
-rw-r--r--plugins/mod_carbons.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_carbons.lua b/plugins/mod_carbons.lua
index 77758cd7..d8d6b3e3 100644
--- a/plugins/mod_carbons.lua
+++ b/plugins/mod_carbons.lua
@@ -10,6 +10,8 @@ local xmlns_carbons = "urn:xmpp:carbons:2";
local xmlns_forward = "urn:xmpp:forward:0";
local full_sessions, bare_sessions = prosody.full_sessions, prosody.bare_sessions;
+module:add_feature("urn:xmpp:carbons:rules:0");
+
local function is_bare(jid)
return not jid_resource(jid);
end