Mercurial > prosody-modules
comparison mod_mam/rsm.lib.lua @ 703:7e065836c3f6
mod_mam/rsm.lib: Fix typo
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 08 Jun 2012 19:35:36 +0200 |
parents | d94ee0848b27 |
children | 57206f8f7b09 |
comparison
equal
deleted
inserted
replaced
702:d94ee0848b27 | 703:7e065836c3f6 |
---|---|
59 end | 59 end |
60 return rs; | 60 return rs; |
61 end | 61 end |
62 | 62 |
63 local function generate(t) | 63 local function generate(t) |
64 local st = stanza("rsm", { xmlns = xmlns_rsm }); | 64 local st = stanza("set", { xmlns = xmlns_rsm }); |
65 for k,v in pairs(t) do | 65 for k,v in pairs(t) do |
66 if element_parsers[k] then | 66 if element_parsers[k] then |
67 element_generators[k](st, v); | 67 element_generators[k](st, v); |
68 end | 68 end |
69 end | 69 end |