Software /
code /
prosody
Changeset
6419:84b332eacde9
plugins/muc/muc.lib: Fix iq results coming from the real jid, not the in-room jid (thanks Lance)
author | daurnimator <quae@daurnimator.com> |
---|---|
date | Tue, 16 Sep 2014 17:11:29 -0400 |
parents | 6418:ae798314347c |
children | 6423:1c78f10f05d0 |
files | plugins/muc/muc.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);