From 97abe6b27ec2e7bc0a6d7053c7e250945a332aec Mon Sep 17 00:00:00 2001 From: Jean-Marie Traissard Date: Sat, 30 Sep 2006 01:42:46 +0000 Subject: [PATCH] Open gc-invit via roster --- src/roster_window.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/roster_window.py b/src/roster_window.py index 6f959a8b4..6673b1bf7 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -2893,6 +2893,11 @@ _('If "%s" accepts this request you will know his or her status.') % jid) gajim.interface.remove_first_event(account, jid, event.type_) ft.show_completed(jid, data) return True + elif event.type_ == 'gc-invitation': + dialogs.InvitationReceivedDialog(account, data[0], jid, data[2], + data[1]) + gajim.interface.remove_first_event(account, jid, event.type_) + return True return False def on_open_chat_window(self, widget, contact, account, resource = None):