Software /
code /
prosody
Comparison
plugins/mod_muc_mam.lua @ 10566:f4d12b1434c6 0.11
mod_muc_mam: Fix rebase mistake [luacheck]
The 'err' was there in trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 24 Dec 2019 01:00:35 +0100 |
parent | 10562:670afc079f68 |
child | 10568:b6f93babebe8 |
child | 10670:5376f882cf82 |
comparison
equal
deleted
inserted
replaced
10562:670afc079f68 | 10566:f4d12b1434c6 |
---|---|
350 if stanza.attr.type then | 350 if stanza.attr.type then |
351 with = with .. "<" .. stanza.attr.type | 351 with = with .. "<" .. stanza.attr.type |
352 end | 352 end |
353 | 353 |
354 -- And stash it | 354 -- And stash it |
355 local id = archive:append(room_node, nil, stored_stanza, time_now(), with); | 355 local id, err = archive:append(room_node, nil, stored_stanza, time_now(), with); |
356 | 356 |
357 if id then | 357 if id then |
358 schedule_cleanup(room_node); | 358 schedule_cleanup(room_node); |
359 stanza:add_direct_child(st.stanza("stanza-id", { xmlns = xmlns_st_id, by = self.jid, id = id })); | 359 stanza:add_direct_child(st.stanza("stanza-id", { xmlns = xmlns_st_id, by = self.jid, id = id })); |
360 else | 360 else |