Avoid traceback when configuration is forbidden…
This commit is contained in:
parent
1b995e4bf0
commit
d8f92a67e4
1 changed files with 2 additions and 0 deletions
|
@ -396,6 +396,8 @@ class MucTab(ChatTab):
|
|||
def command_configure(self, arg):
|
||||
form = self.core.xmpp.plugin['xep_0045'].getRoomForm(self.get_name())
|
||||
self.core.information('%s' % form)
|
||||
if not form:
|
||||
return
|
||||
self.core.open_new_form(form, self.cancel_config, self.send_config)
|
||||
|
||||
def cancel_config(self, form):
|
||||
|
|
Loading…
Reference in a new issue