fix TB, call correctly ErrorDialog
This commit is contained in:
parent
e8fb4160d1
commit
aab2e0d14d
|
@ -1484,7 +1484,7 @@ class GroupchatControl(ChatControlBase):
|
|||
try:
|
||||
jid = helpers.parse_jid(jid)
|
||||
except:
|
||||
ErrorDialog(_('Invalid group chat Jabber ID'),
|
||||
dialogs.ErrorDialog(_('Invalid group chat Jabber ID'),
|
||||
_('The group chat Jabber ID has not allowed characters.'))
|
||||
return
|
||||
else:
|
||||
|
@ -2023,4 +2023,4 @@ class GroupchatControl(ChatControlBase):
|
|||
if widget.get_active():
|
||||
self.grant_owner(widget, jid)
|
||||
else:
|
||||
self.revoke_owner(widget, jid)
|
||||
self.revoke_owner(widget, jid)
|
||||
|
|
Loading…
Reference in New Issue