# HG changeset patch # User Kim Alvefur <zash@zash.se> # Date 1479462296 -3600 # Node ID ca3bdb606b1fdb7ee2791e474a9697a4a23dd475 # Parent 92b6aa3ea2cecb54f754343b2bf0ce7ebb1a2320 mod_mam: Remove legacy feature advertising diff -r 92b6aa3ea2ce -r ca3bdb606b1f 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);