diff --git a/src/groupchat_window.py b/src/groupchat_window.py index 981e4cb96..e53108595 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -576,7 +576,7 @@ class GroupchatWindow(chat.Chat): _('You can manage your bookmarks via Actions menu in your roster.')) def on_message_textview_key_press_event(self, widget, event): - if event.keyval not in [gtk.keysyms.ISO_Left_Tab, gtk.keysyms.Tab]: + if event.keyval not in (gtk.keysyms.ISO_Left_Tab, gtk.keysyms.Tab): room_jid = self.get_active_jid() self.last_key_tabs[room_jid] = False