Software /
code /
prosody-modules
Diff
mod_storage_xmlarchive/mod_storage_xmlarchive.lua @ 2600:9ec8289f6bb2
mod_storage_xmlarchive: Break long line [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 06 Mar 2017 00:51:28 +0100 |
parent | 2595:307ddebb72e1 |
child | 2601:ba5757dc883d |
line wrap: on
line diff
--- a/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Mon Mar 06 00:46:07 2017 +0100 +++ b/mod_storage_xmlarchive/mod_storage_xmlarchive.lua Mon Mar 06 00:51:28 2017 +0100 @@ -48,7 +48,8 @@ local offset = ok and err or 0; local id = day .. "-" .. hmac_sha256(username.."@"..day.."+"..offset, data, true):sub(-16); - ok, err = dm.list_append(username.."@"..day, module.host, self.store, { id = id, when = dt.datetime(when), with = with, offset = offset, length = #data }); + ok, err = dm.list_append(username.."@"..day, module.host, self.store, + { id = id, when = dt.datetime(when), with = with, offset = offset, length = #data }); if ok and first_of_day then ok, err = dm.list_append(username, module.host, self.store, day); end