From 4a7b4259580b9786b653d4f704c6122d1efe1604 Mon Sep 17 00:00:00 2001 From: missytake Date: Fri, 12 Sep 2025 09:29:48 +0200 Subject: [PATCH] www: if invite_token is set, don't show the QR code & register button --- www/src/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/www/src/index.md b/www/src/index.md index e167c740..0031d28e 100644 --- a/www/src/index.md +++ b/www/src/index.md @@ -11,6 +11,7 @@ for Delta Chat users. For details how it avoids storing personal information please see our [privacy policy](privacy.html). {% endif %} +{% if not config.invite_token %} Get a {{config.mail_domain}} chat profile If you are viewing this page on a different device @@ -23,6 +24,10 @@ you can also **scan this QR code** with Delta Chat: 🐣 **Choose** your Avatar and Name 💬 **Start** chatting with any Delta Chat contacts using [QR invite codes](https://delta.chat/en/help#howtoe2ee) +{% else %} +**To join this instance, you need an invite link or QR code - +ask the admin for an invite.** +{% endif %} {% if config.mail_domain != "nine.testrun.org" %}
Note: this is only a temporary development chatmail service