diff options
author | Kim Alvefur <zash@zash.se> | 2020-05-09 00:48:22 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-05-09 00:48:22 +0200 |
commit | 5b3710099c6ab6c855e3b672050c7a762355d82e (patch) | |
tree | 5f30078f1431496c8d5ddc30d5eb549f6a740db7 /plugins/mod_muc_mam.lua | |
parent | 71d6bde69ce86526dda8b0ee7c14b3418c415a7f (diff) | |
parent | b8779399f6ed223f9f49592edc474d33b137127d (diff) | |
download | prosody-5b3710099c6ab6c855e3b672050c7a762355d82e.tar.gz prosody-5b3710099c6ab6c855e3b672050c7a762355d82e.zip |
Merge 0.11->trunk
Diffstat (limited to 'plugins/mod_muc_mam.lua')
-rw-r--r-- | plugins/mod_muc_mam.lua | 3 |
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 |