Software /
code /
prosody
Diff
plugins/mod_mam/mod_mam.lua @ 10567:3df479098696 0.11
mod_mam: Fix rebase mistake [luacheck]
The 'err' was there in trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 24 Dec 2019 01:01:05 +0100 |
parent | 10525:9cf7d9761ca2 |
child | 10568:b6f93babebe8 |
child | 10682:62ef68f95b6f |
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua Tue Dec 24 01:00:35 2019 +0100 +++ b/plugins/mod_mam/mod_mam.lua Tue Dec 24 01:01:05 2019 +0100 @@ -297,7 +297,7 @@ log("debug", "Archiving stanza: %s", stanza:top_tag()); -- And stash it - local ok = archive:append(store_user, nil, clone_for_storage, time_now(), with); + local ok, err = archive:append(store_user, nil, clone_for_storage, time_now(), with); if ok then local clone_for_other_handlers = st.clone(stanza); local id = ok;