mod_mam: Remove legacy feature advertising
authorKim Alvefur <zash@zash.se>
Fri, 18 Nov 2016 10:44:56 +0100
changeset 7844 ca3bdb606b1f
parent 7843 92b6aa3ea2ce
child 7845 9332b43931f5
mod_mam: Remove legacy feature advertising
plugins/mod_mam/mod_mam.lua
--- 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);