[Zash] fix traceback when sending messages over zeroconf. Fixes #5784.

This commit is contained in:
Yann Leboulanger 2010-06-18 07:45:07 +02:00
parent f6e45c18ef
commit 50653e2a10
1 changed files with 3 additions and 3 deletions

View File

@ -309,9 +309,9 @@ class ConnectionZeroconf(CommonConnection, ConnectionHandlersZeroconf):
def send_message(self, jid, msg, keyID, type_='chat', subject='',
chatstate=None, msg_id=None, composing_xep=None, resource=None,
user_nick=None, xhtml=None, session=None, forward_from=None, form_node=None,
original_message=None, delayed=None, callback=None, callback_args=[],
now=True):
user_nick=None, xhtml=None, label=None, session=None, forward_from=None,
form_node=None, original_message=None, delayed=None, callback=None,
callback_args=[], now=True):
def on_send_ok(msg_id):
self.dispatch('MSGSENT', (jid, msg, keyID))