diff --git a/src/dialogs.py b/src/dialogs.py index 68f953a0a..bb80a894e 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_groupchat(): + not gajim.contacts.get_contact(self.account, room_jid).is_transport(): 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 92bc7a8be..fa7756857 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 \ - not gajim.contacts.get_contact(account, room_jid).is_groupchat(): + gajim.contacts.get_contact(account, room_jid).is_transport(): dialogs.ErrorDialog(_('This is not a group chat'), _('%s is not the name of a group chat.') % room_jid) return