From 45ae77abf0d01df03d222588dafa85d9bfaced5b Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sun, 2 Oct 2011 22:06:22 +0200 Subject: [PATCH] revert [ce086d0f1a17] --- src/dialogs.py | 2 +- src/gui_interface.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dialogs.py b/src/dialogs.py index 324f13dc7..68f953a0a 100644 --- a/src/dialogs.py +++ b/src/dialogs.py @@ -2482,7 +2482,7 @@ class JoinGroupchatWindow: return if gajim.contacts.get_contact(self.account, room_jid) and \ - gajim.contacts.get_contact(self.account, room_jid).is_groupchat(): + not gajim.contacts.get_contact(self.account, room_jid).is_groupchat(): ErrorDialog(_('This is not a group chat'), _('%s is not the name of a group chat.') % room_jid) return diff --git a/src/gui_interface.py b/src/gui_interface.py index ef551d49a..92bc7a8be 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -1903,7 +1903,7 @@ class Interface: """ if gajim.contacts.get_contact(account, room_jid) and \ - gajim.contacts.get_contact(account, room_jid).is_groupchat(): + not gajim.contacts.get_contact(account, room_jid).is_groupchat(): dialogs.ErrorDialog(_('This is not a group chat'), _('%s is not the name of a group chat.') % room_jid) return