From 99725d78cab17772588d185cf8177107a4a6d33f Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Mon, 3 Oct 2011 00:15:28 +0300 Subject: [PATCH] Backed out changeset 0dad513e58f5 --- 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 bb80a894e..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 \ - not gajim.contacts.get_contact(self.account, room_jid).is_transport(): + 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 fa7756857..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_transport(): + 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