diff options
author | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-09-27 22:53:25 +0000 |
---|---|---|
committer | louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13> | 2010-09-27 22:53:25 +0000 |
commit | 3ea295f8c78d74c7ce94db3271f0ce3464e4e0cb (patch) | |
tree | 6058acac1735fb2cc583bd1edbca6b9b93dd500c /src/gui.py | |
parent | d94efc30ccfb376dab7381090facc6c75b2f49c2 (diff) | |
download | poezio-3ea295f8c78d74c7ce94db3271f0ce3464e4e0cb.tar.gz poezio-3ea295f8c78d74c7ce94db3271f0ce3464e4e0cb.tar.bz2 poezio-3ea295f8c78d74c7ce94db3271f0ce3464e4e0cb.tar.xz poezio-3ea295f8c78d74c7ce94db3271f0ce3464e4e0cb.zip |
avoid a crash when receiving a message from someone not in our roster
Diffstat (limited to 'src/gui.py')
-rw-r--r-- | src/gui.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -928,8 +928,7 @@ class Gui(object): is_jid(self.current_tab().get_name()): room += '@%s' % jid_get_domain(self.current_tab().get_name()) else: # no server could be found, print a message and return - # self.add_message_to_text_buffer(self.current_room(), _("You didn't specify a server for the room you want to join")) - # TODO INFO + self.information(_("You didn't specify a server for the room you want to join"), 'Error') return r = self.get_room_by_name(room) if len(args) == 2: # a password is provided |