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