Diff

plugins/mod_mam/mod_mam.lua @ 7841:ca3bdb606b1f

mod_mam: Remove legacy feature advertising
author Kim Alvefur <zash@zash.se>
date Fri, 18 Nov 2016 10:44:56 +0100
parent 7840:92b6aa3ea2ce
child 7842:9332b43931f5
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua	Fri Nov 18 10:44:27 2016 +0100
+++ b/plugins/mod_mam/mod_mam.lua	Fri Nov 18 10:44:56 2016 +0100
@@ -325,8 +325,6 @@
 module:hook("message/bare", message_handler, 0);
 module:hook("message/full", message_handler, 0);
 
-module:add_feature(xmlns_mam); -- COMPAT with XEP-0313 v 0.1
-
 module:hook("account-disco-info", function(event)
 	(event.reply or event.stanza):tag("feature", {var=xmlns_mam}):up();
 end);