From b39bde756e092de1e32cf97ea5f4cb04f3dbf46d Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 18 Nov 2016 10:44:56 +0100 Subject: mod_mam: Remove legacy feature advertising --- plugins/mod_mam/mod_mam.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/mod_mam') diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua index a9c80e73..383ed162 100644 --- a/plugins/mod_mam/mod_mam.lua +++ b/plugins/mod_mam/mod_mam.lua @@ -325,8 +325,6 @@ module:hook("pre-message/full", c2s_message_handler, 0); 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); -- cgit v1.2.3