fix handling error messages. Fixes #5982, #5986

This commit is contained in:
Yann Leboulanger 2010-10-20 14:57:50 +02:00
parent 74d68305f1
commit 13a46aa0b4
1 changed files with 2 additions and 1 deletions

View File

@ -1466,7 +1466,8 @@ ConnectionJingle, ConnectionIBBytestream):
obj.session.control.conv_textview.hide_xep0184_warning(obj.id_)
if obj.mtype == 'error':
self.dispatch_error_message(msg, msgtxt, session, frm, tim)
self.dispatch_error_message(obj.stanza, obj.msgtxt,
obj.session, obj.fjid, obj.timestamp)
elif obj.mtype == 'groupchat':
gajim.nec.push_incoming_event(GcMessageReceivedEvent(None,
conn=self, msg_obj=obj))