plugins/muc/muc.lib: Fix iq results coming from the real jid, not the in-room jid (thanks Lance)
--- 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);