diff options
author | Kim Alvefur <zash@zash.se> | 2020-05-11 21:14:02 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-05-11 21:14:02 +0200 |
commit | 5e6a56e92f366726f89a2d0aee091c3080b9eccd (patch) | |
tree | 7bb03a1c9bcccc8048e89f869221796eecb08aa7 /plugins/mod_muc_mam.lua | |
parent | 8532c071e47f28da5362235482f195366d7fab44 (diff) | |
download | prosody-5e6a56e92f366726f89a2d0aee091c3080b9eccd.tar.gz prosody-5e6a56e92f366726f89a2d0aee091c3080b9eccd.zip |
mod_muc_mam: Remove spoofed archive IDs before archiving, fix #1552
The stanza-id added during archiving looks exactly like what should be
stripped, so the stripping must happen before archiving.
Getting priorities right is hard!
Also no test coverage yet.
Diffstat (limited to 'plugins/mod_muc_mam.lua')
-rw-r--r-- | plugins/mod_muc_mam.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_muc_mam.lua b/plugins/mod_muc_mam.lua index 88018f72..711bf163 100644 --- a/plugins/mod_muc_mam.lua +++ b/plugins/mod_muc_mam.lua @@ -324,7 +324,7 @@ module:hook("muc-broadcast-message", function (event) return tag; end); -end, 0); +end, 1); -- Handle messages local function save_to_history(self, stanza) |