author | Kim Alvefur <zash@zash.se> |
Sat, 14 Jul 2018 21:25:34 +0200 | |
changeset 9045 | 734ba7080b35 |
parent 9044 | b3bc742ee188 |
child 9046 | 9d77b6588bdf |
--- a/core/moduleapi.lua Sat Jul 14 20:18:49 2018 +0200 +++ b/core/moduleapi.lua Sat Jul 14 21:25:34 2018 +0200 @@ -366,7 +366,7 @@ for jid in (iter or it.values)(jids) do local new_stanza = st.clone(stanza); new_stanza.attr.to = jid; - core_post_stanza(hosts[self.host], new_stanza); + self:send(new_stanza); end end