Software /
code /
prosody
Diff
plugins/mod_vcard.lua @ 9228:e2e2aa76ea31
mod_private, mod_vcard: Use the usual comment on non-get received iqs.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 24 Aug 2018 20:36:06 +0200 |
parent | 9219:3ce18a4018f4 |
child | 10552:f1cf8c08a09d |
line wrap: on
line diff
--- a/plugins/mod_vcard.lua Fri Aug 24 20:35:33 2018 +0200 +++ b/plugins/mod_vcard.lua Fri Aug 24 20:36:06 2018 +0200 @@ -29,7 +29,7 @@ else session.send(st.error_reply(stanza, "cancel", "item-not-found")); end - else + else -- stanza.attr.type == "set" if not to then if vcards:set(session.username, st.preserialize(stanza.tags[1])) then session.send(st.reply(stanza));