summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2018-06-30 22:41:19 +0100
committerMaxime “pep” Buquet <pep@bouah.net>2018-12-16 16:57:48 +0000
commitdc2808cdcc08624d323e9103e4fa4a7036f41a4c (patch)
tree8d0339ded7229c4afad281cf3b554823ad0ff173
parentb6fb719cc991b63f360ff46355b0f96a9aac2a0e (diff)
downloadpoezio-dc2808cdcc08624d323e9103e4fa4a7036f41a4c.tar.gz
poezio-dc2808cdcc08624d323e9103e4fa4a7036f41a4c.tar.bz2
poezio-dc2808cdcc08624d323e9103e4fa4a7036f41a4c.tar.xz
poezio-dc2808cdcc08624d323e9103e4fa4a7036f41a4c.zip
Add error message if muc service not found
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/core/core.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index 5090a211..fc311ea3 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -882,6 +882,12 @@ class Core:
# not, give up
default_muc = config.get('default_muc_service')
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
nick = self.own_nick