Skip to content
Snippets Groups Projects
Commit bf697599 authored by sb's avatar sb
Browse files

fix #2649

parent 636342bc
No related branches found
No related tags found
No related merge requests found
......@@ -425,7 +425,10 @@ class Dispatcher(PlugIn):
stanza=route
stanza.setNamespace(self._owner.Namespace)
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
def disconnect(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment