fix #2649
This commit is contained in:
parent
636342bc30
commit
bf69759900
|
@ -425,7 +425,10 @@ class Dispatcher(PlugIn):
|
||||||
stanza=route
|
stanza=route
|
||||||
stanza.setNamespace(self._owner.Namespace)
|
stanza.setNamespace(self._owner.Namespace)
|
||||||
stanza.setParent(self._metastream)
|
stanza.setParent(self._metastream)
|
||||||
self._owner.Connection.send(stanza, is_message)
|
if is_message:
|
||||||
|
self._owner.Connection.send(stanza, True)
|
||||||
|
else:
|
||||||
|
self._owner.Connection.send(stanza)
|
||||||
return _ID
|
return _ID
|
||||||
|
|
||||||
def disconnect(self):
|
def disconnect(self):
|
||||||
|
|
Loading…
Reference in New Issue