go back with is_groupchat() to detect groupchats. see #6906
This commit is contained in:
parent
6ea71da276
commit
fd1744d181
|
@ -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_transport():
|
||||
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
|
||||
|
|
|
@ -1903,7 +1903,7 @@ class Interface:
|
|||
"""
|
||||
|
||||
if gajim.contacts.get_contact(account, room_jid) and \
|
||||
gajim.contacts.get_contact(account, room_jid).is_transport():
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue