aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_muc_mam.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_muc_mam.lua')
-rw-r--r--plugins/mod_muc_mam.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_muc_mam.lua b/plugins/mod_muc_mam.lua
index a151931f..f22f20f2 100644
--- a/plugins/mod_muc_mam.lua
+++ b/plugins/mod_muc_mam.lua
@@ -336,7 +336,7 @@ module:hook("muc-get-history", function (event)
return true;
end, 1);
-module:hook("muc-broadcast-messages", function (event)
+module:hook("muc-broadcast-message", function (event)
local room, stanza = event.room, event.stanza;
-- Filter out <stanza-id> that claim to be from us
@@ -446,6 +446,7 @@ module:hook("muc-disco#info", function(event)
if archiving_enabled(event.room) then
event.reply:tag("feature", {var=xmlns_mam}):up();
end
+ event.reply:tag("feature", {var=xmlns_st_id}):up();
end);
-- Cleanup