Mercurial > prosody-modules
diff mod_mam/rsm.lib.lua @ 1402:57ee26681561
mod_mam/rsm.lib: Rename argument for clarity
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 30 Apr 2014 13:19:47 +0200 |
parents | 1a5ae0dee157 |
children |
line wrap: on
line diff
--- a/mod_mam/rsm.lib.lua Wed Apr 30 13:19:15 2014 +0200 +++ b/mod_mam/rsm.lib.lua Wed Apr 30 13:19:47 2014 +0200 @@ -55,9 +55,9 @@ }); -local function parse(stanza) +local function parse(set) local rs = {}; - for tag in stanza:childtags() do + for tag in set:childtags() do local name = tag.name; local parser = name and element_parsers[name]; if parser then