Add error message if muc service not found
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
b6fb719cc9
commit
dc2808cdcc
1 changed files with 6 additions and 0 deletions
|
@ -882,6 +882,12 @@ class Core:
|
||||||
# not, give up
|
# not, give up
|
||||||
default_muc = config.get('default_muc_service')
|
default_muc = config.get('default_muc_service')
|
||||||
if not default_muc:
|
if not default_muc:
|
||||||
|
self.information(
|
||||||
|
"Error finding a MUC service to join. If your server does not "
|
||||||
|
"provide one, set 'default_muc_service' manually to a MUC "
|
||||||
|
"service that allows room creation.",
|
||||||
|
'Error'
|
||||||
|
)
|
||||||
return
|
return
|
||||||
|
|
||||||
nick = self.own_nick
|
nick = self.own_nick
|
||||||
|
|
Loading…
Reference in a new issue