mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
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.
This commit is contained in:
parent
b8779399f6
commit
031e272a9c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue