changeset 9536 | 00a8e627854e |
parent 9471 | bd5e4485a245 |
child 9537 | b301f7edf346 |
--- a/plugins/mod_storage_memory.lua Sun Oct 21 16:18:10 2018 +0100 +++ b/plugins/mod_storage_memory.lua Sun Oct 21 17:58:50 2018 +0200 @@ -42,9 +42,6 @@ archive_store.__index = archive_store; function archive_store:append(username, key, value, when, with) - if type(when) ~= "number" then - when, with, value = value, when, with; - end if is_stanza(value) then value = st.preserialize(value); value = envload("return xml"..serialize(value), "=(stanza)", { xml = st.deserialize })