aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commitb39bde756e092de1e32cf97ea5f4cb04f3dbf46d (patch)
treeaa08997a4e9e2f1f4196b8bf66865f1cc6d24e7f /plugins
parentc02ea749092c025a0bcc20c53719a4707f4121fe (diff)
downloadprosody-b39bde756e092de1e32cf97ea5f4cb04f3dbf46d.tar.gz
prosody-b39bde756e092de1e32cf97ea5f4cb04f3dbf46d.zip
mod_mam: Remove legacy feature advertising
Diffstat (limited to 'plugins')
-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);