aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_mam/mod_mam.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-11-18 10:44:56 +0100
committerKim Alvefur <zash@zash.se>2016-11-18 10:44:56 +0100
commit6f7e52ea70ad518fe033aee8e03bb868974e3f7b (patch)
treeaa08997a4e9e2f1f4196b8bf66865f1cc6d24e7f /plugins/mod_mam/mod_mam.lua
parentff9ab39f205a490f3f8593ab3f729fca007e4fba (diff)
downloadprosody-6f7e52ea70ad518fe033aee8e03bb868974e3f7b.tar.gz
prosody-6f7e52ea70ad518fe033aee8e03bb868974e3f7b.zip
mod_mam: Remove legacy feature advertising
Diffstat (limited to 'plugins/mod_mam/mod_mam.lua')
-rw-r--r--plugins/mod_mam/mod_mam.lua2
1 files changed, 0 insertions, 2 deletions
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);