aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_muc_mam.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-04-29 18:04:05 +0200
committerKim Alvefur <zash@zash.se>2020-04-29 18:04:05 +0200
commit6b5447031cea9e858a3efa5051177b00184ab0da (patch)
treea40225fed1fd9f925022b8a5099aa80a859864af /plugins/mod_muc_mam.lua
parent0190577d67e33396410305bfc9dc23f5de825838 (diff)
downloadprosody-6b5447031cea9e858a3efa5051177b00184ab0da.tar.gz
prosody-6b5447031cea9e858a3efa5051177b00184ab0da.zip
mod_muc_mam: Fix stanza id filter event name, fixes #1546
Nice typo
Diffstat (limited to 'plugins/mod_muc_mam.lua')
-rw-r--r--plugins/mod_muc_mam.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_muc_mam.lua b/plugins/mod_muc_mam.lua
index 5a01324d..8216e2e6 100644
--- a/plugins/mod_muc_mam.lua
+++ b/plugins/mod_muc_mam.lua
@@ -309,7 +309,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