Changeset

11836:8ccb22c0fa56

mod_carbons: Advertise following of recommended rules (closes #1486) We're doing our best!
author Kim Alvefur <zash@zash.se>
date Tue, 05 Oct 2021 17:02:32 +0200
parents 11835:a405884c62f4
children 11837:a37bf4497280
files plugins/mod_carbons.lua
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_carbons.lua	Tue Oct 05 16:30:41 2021 +0200
+++ b/plugins/mod_carbons.lua	Tue Oct 05 17:02:32 2021 +0200
@@ -10,6 +10,8 @@
 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