This commit is contained in:
Stefan Bethge 2006-11-06 22:47:25 +00:00
parent 636342bc30
commit bf69759900
1 changed files with 4 additions and 1 deletions

View File

@ -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):