revert [ce086d0f1a17]
This commit is contained in:
parent
fd1744d181
commit
45ae77abf0
|
@ -2482,7 +2482,7 @@ class JoinGroupchatWindow:
|
||||||
return
|
return
|
||||||
|
|
||||||
if gajim.contacts.get_contact(self.account, room_jid) and \
|
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'),
|
ErrorDialog(_('This is not a group chat'),
|
||||||
_('%s is not the name of a group chat.') % room_jid)
|
_('%s is not the name of a group chat.') % room_jid)
|
||||||
return
|
return
|
||||||
|
|
|
@ -1903,7 +1903,7 @@ class Interface:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if gajim.contacts.get_contact(account, room_jid) and \
|
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'),
|
dialogs.ErrorDialog(_('This is not a group chat'),
|
||||||
_('%s is not the name of a group chat.') % room_jid)
|
_('%s is not the name of a group chat.') % room_jid)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue