Software /
code /
prosody-modules
Diff
mod_mam_muc/mod_mam_muc.lua @ 2177:530feb0e23ff
mod_mam_muc: Fix order of arguments for archive API
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 22 May 2016 00:00:46 +0200 |
parent | 2031:f21147d56bc4 |
child | 2178:24c9c0255235 |
line wrap: on
line diff
--- a/mod_mam_muc/mod_mam_muc.lua Wed May 11 23:13:03 2016 +0200 +++ b/mod_mam_muc/mod_mam_muc.lua Sun May 22 00:00:46 2016 +0200 @@ -366,7 +366,7 @@ if stanza.attr.type then with = with .. "<" .. stanza.attr.type end - archive:append(room, nil, time_now(), with, stanza); + archive:append(room, stanza, nil, time_now(), with); end module:hook("muc-broadcast-message", function (event)