Software /
code /
prosody
Comparison
plugins/muc/muc.lib.lua @ 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 |
parent | 6410:d782cbb46c2a |
child | 6429:675aea867574 |
comparison
equal
deleted
inserted
replaced
6418:ae798314347c | 6419:84b332eacde9 |
---|---|
529 session_jid = to_jid; | 529 session_jid = to_jid; |
530 break; | 530 break; |
531 end | 531 end |
532 end | 532 end |
533 if session_jid == nil then return nil; end | 533 if session_jid == nil then return nil; end |
534 stanza.attr.from, stanza.attr.to, stanza.attr.id = from_jid, session_jid, id; | 534 stanza.attr.from, stanza.attr.to, stanza.attr.id = from_occupant_jid, session_jid, id; |
535 end | 535 end |
536 log("debug", "%s sent private iq stanza to %s (%s)", from, to, stanza.attr.to); | 536 log("debug", "%s sent private iq stanza to %s (%s)", from, to, stanza.attr.to); |
537 self:route_stanza(stanza); | 537 self:route_stanza(stanza); |
538 stanza.attr.from, stanza.attr.to, stanza.attr.id = from, to, id; | 538 stanza.attr.from, stanza.attr.to, stanza.attr.id = from, to, id; |
539 return true; | 539 return true; |