From aecfc39a7c3d11fe63decd4119ebb6e8c0a364fd Mon Sep 17 00:00:00 2001 From: Yann Leboulanger <asterix@lagaule.org> Date: Fri, 24 Aug 2012 10:13:55 +0200 Subject: [PATCH] missing commit --- src/common/connection_handlers.py | 4 ++++ src/gui_interface.py | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 6393701992..bd962cdfef 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -1043,6 +1043,10 @@ class ConnectionHandlersBase: gajim.nec.push_incoming_event(GcInvitationReceivedEvent(None, conn=self, msg_obj=obj)) return True + elif obj.decline_tag is not None: + gajim.nec.push_incoming_event(GcDeclineReceivedEvent(None, + conn=self, msg_obj=obj)) + return True # process and dispatch an error message def dispatch_error_message(self, msg, msgtxt, session, frm, tim): diff --git a/src/gui_interface.py b/src/gui_interface.py index a64cb82d95..b6c8f7ef47 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -625,7 +625,6 @@ class Interface: def handle_event_gc_invitation(self, obj): #('GC_INVITATION', (room_jid, jid_from, reason, password, is_continued)) - jid = gajim.get_jid_without_resource(obj.jid_from) account = obj.conn.name if helpers.allow_popup_window(account) or not self.systray_enabled: dialogs.InvitationReceivedDialog(account, obj.room_jid, -- GitLab