From 215426c2db05e7dad1bfed69039efb4a3f9eb014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Wed, 3 Feb 2021 19:01:48 +0100 Subject: [PATCH] Add `/` to invite URL The new portal version will support this (see [1]). The rationale is also explained over there, but to summarize: If the link ends in `_` or `-`, some user agents will not linkify it correctly, worsening the UX. [1]: https://github.com/snikket-im/snikket-web-portal/issues/48 --- ansible/files/prosody.cfg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/files/prosody.cfg.lua b/ansible/files/prosody.cfg.lua index 6ec665a..a56bc12 100644 --- a/ansible/files/prosody.cfg.lua +++ b/ansible/files/prosody.cfg.lua @@ -128,7 +128,7 @@ registration_invite_only = true -- over what happens when a user invites someone. allow_contact_invites = false -invites_page = ENV_SNIKKET_INVITE_URL or ("https://"..DOMAIN.."/invite/{invite.token}"); +invites_page = ENV_SNIKKET_INVITE_URL or ("https://"..DOMAIN.."/invite/{invite.token}/"); invites_page_external = true c2s_require_encryption = true