Comon links
Links to people, chats, invites and calls, and how they open on different devices.
Kinds of links
| Link | What it opens |
|---|---|
https://<federation address>/u/<name> | A person, bot or public chat by @name |
https://<federation address>/join/<code> | An invite to a group, channel or community |
https://<federation address>/call/<code> | A call by link |
Old /@name and /+code links still work: the server redirects them to the new ones.
"Share" and "Copy link" in the app give links of exactly this form.
How a link opens
In the app. Tapping a link in a message opens the chat or call right in the app. If the link
leads to a federation you do not have yet, the app checks that a Comon federation really runs at
the address and offers to connect; after you sign in, what the link pointed to opens. A link, an
@name or a +code can also be pasted into search.
In a browser. The federation shows a page without scripts, in Russian or English: what the link opens (the person's name, the chat's title and size, the call and its host) and buttons:
- open in the app;
- open the web version, if the federation has one;
- download the app for your platform.
Invite and call pages are kept out of search engines.
Straight into the app from anywhere. On an iPhone, Mac and Android, comon.chat links open the
app directly, bypassing the browser. For a federation on its own domain this is possible only if
the app is built with that domain; otherwise the link opens the federation's page, which then
hands the link to the app. On Windows and Linux links always go through the page: the installer
registers the comon:// scheme that the page uses to open the app.