Diff

plugins/mod_carbons.lua @ 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
parent 11796:71c20650a0b4
child 12234:1c47162dd965
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