Merge branch 'component-ifrom' into 'master'
xep_0030: fix ifrom for disco queries sent by components See merge request poezio/slixmpp!216
This commit is contained in:
commit
cba5dc7ddc
1 changed files with 2 additions and 0 deletions
|
@ -385,6 +385,8 @@ class XEP_0030(BasePlugin):
|
|||
local = True
|
||||
|
||||
ifrom = kwargs.pop('ifrom', None)
|
||||
if self.xmpp.is_component and ifrom is None:
|
||||
ifrom = self.xmpp.boundjid
|
||||
if local:
|
||||
log.debug("Looking up local disco#info data "
|
||||
"for %s, node %s.", jid, node)
|
||||
|
|
Loading…
Reference in a new issue