# HG changeset patch # User daurnimator # Date 1410901889 14400 # Node ID 84b332eacde902f41452035e9a9becf14bc1dba5 # Parent ae798314347cfc22f50762e8de0c089eb4330e73 plugins/muc/muc.lib: Fix iq results coming from the real jid, not the in-room jid (thanks Lance) diff -r ae798314347c -r 84b332eacde9 plugins/muc/muc.lib.lua --- a/plugins/muc/muc.lib.lua Thu Sep 18 02:22:48 2014 +0200 +++ b/plugins/muc/muc.lib.lua Tue Sep 16 17:11:29 2014 -0400 @@ -531,7 +531,7 @@ 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);