Software /
code /
prosody-modules
Diff
mod_sms_clickatell/mod_sms_clickatell.lua @ 3353:e8d6f602f382
mod_password_reset: Improve error reporting when setting a password fails
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 09 Oct 2018 14:10:42 +0100 |
parent | 2887:65082d91950e |
line wrap: on
line diff
--- a/mod_sms_clickatell/mod_sms_clickatell.lua Tue Oct 09 14:09:54 2018 +0100 +++ b/mod_sms_clickatell/mod_sms_clickatell.lua Tue Oct 09 14:10:42 2018 +0100 @@ -234,7 +234,7 @@ function iq_success(origin, stanza) local reply = data_cache.success; if reply == nil then - reply = st.iq({type='result', from=stanza.attr.to or component_host}); + reply = st.reply(stanza); data_cache.success = reply; end reply.attr.id = stanza.attr.id;