Conversation
For a tchat invite link, e.g. links.twake.app/chat/@JDoe:twake.app 1. if the mobile app is installed, the app catches the redirection as it is an universal link (already working) 2. if the mobile app is not installed 2.1 if we are on mobile => we redirect to the relevant store page (implemented here) 2.2 if we are on web => we redirect to sign up (next commit) We need to manage the mobile redirection here because: - we want to open iOS or Android relevant store page that's why we check user agent - we hardcode store page URL because these URL almost never changes and we do not want to add to much data in the invite link query string
For a tchat invite link, e.g. links.twake.app/chat/@JDoe:twake.app 1. if the mobile app is installed, the app catches the redirection as it is an universal link (already working) 2. if the mobile app is not installed 2.1 if we are on mobile => we redirect to the relevant store page (previous commit) 2.2 if we are on web => we redirect to sign up (implemented here)
Member
Author
|
Still in draft because two questions for @Crash-- and @rezk2ll. In the second commit, I need to go from https://links.twake.app/chat/@jdoe:twake.app to https://chat.twake.app/web/#/chat/@jdoe:twake.app (it is the green part of the schema below).
FYI we do not support B2B invite link.
|
Crash--
approved these changes
Feb 11, 2026
55edfc4 to
ca0dc9c
Compare
For tchat invite link, we need to redirect to the good sign up URL. A simple and smart idea to determine it is to leverage the Matrix ID of the send of the invite link. We can extract the domain and select sign up URL from it.
ca0dc9c to
2b3a93a
Compare
2b3a93a to
a8d02fb
Compare
Member
Author
Crash--
approved these changes
Feb 25, 2026
rezk2ll
approved these changes
Feb 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

For a tchat invite link, e.g. links.twake.app/chat/@JDoe:twake.app
2.1 if we are on mobile => we redirect to the relevant store page (implemented here)
2.2 if we are on web => we redirect to sign up (implemented here)