author | Kim Alvefur <zash@zash.se> |
Wed, 01 Apr 2020 22:32:50 +0200 | |
changeset 10710 | 0230ceecb8a9 |
parent 10709 | 2cffb5ce9f7a |
child 10712 | 6119e4f87c32 |
--- a/core/moduleapi.lua Sun Mar 22 22:32:26 2020 +0100 +++ b/core/moduleapi.lua Wed Apr 01 22:32:50 2020 +0200 @@ -438,8 +438,8 @@ local wrapped_origin = setmetatable({ -- XXX Needed in some cases for replies to work correctly when sending queries internally. - send = function (stanza) - resolve({ stanza = stanza }); + send = function (reply) + resolve({ stanza = reply }); end; }, { __index = origin or hosts[self.host];