diff options
author | daurnimator <quae@daurnimator.com> | 2014-09-16 17:11:29 -0400 |
---|---|---|
committer | daurnimator <quae@daurnimator.com> | 2014-09-16 17:11:29 -0400 |
commit | dee8f7fde4d5e23c0139c2a7bc2871929c0df246 (patch) | |
tree | 39e97f24e3b59d51380068956aa892cd06d0fae6 | |
parent | 31be1596b93612e1c848402bd21207ad06ae30e8 (diff) | |
download | prosody-dee8f7fde4d5e23c0139c2a7bc2871929c0df246.tar.gz prosody-dee8f7fde4d5e23c0139c2a7bc2871929c0df246.zip |
plugins/muc/muc.lib: Fix iq results coming from the real jid, not the in-room jid (thanks Lance)
-rw-r--r-- | plugins/muc/muc.lib.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/muc.lib.lua b/plugins/muc/muc.lib.lua index 6bcb28b1..f2dde69e 100644 --- a/plugins/muc/muc.lib.lua +++ b/plugins/muc/muc.lib.lua @@ -531,7 +531,7 @@ function room_mt:handle_iq_to_occupant(origin, stanza) end end if session_jid == nil then return nil; end - stanza.attr.from, stanza.attr.to, stanza.attr.id = from_jid, session_jid, id; + stanza.attr.from, stanza.attr.to, stanza.attr.id = from_occupant_jid, session_jid, id; end log("debug", "%s sent private iq stanza to %s (%s)", from, to, stanza.attr.to); self:route_stanza(stanza); |