Where the network settings are
Open Chat settings (on a computer, click your avatar at the bottom left; on a phone, tap Settings → the account row → the Profile and servers tab → Profile) → Network. The tab has the Bridges, Call nodes, and Relays cards, and below them the . The call nodes are described on the Call settings page.
You can see the connection state without opening the settings. On a computer, in the left column above your avatar, there's a dot and the number of connected relays out of the total; hover over it for a hint like No connection to the relays. On a phone, the dot is at the top of the chat list.
Relays
Relays store and forward encrypted events. A starting set of relays is built into the app; you can add your own.
- Home server: Veydan or Your own. Switch with the Use only my servers or Use Veydan servers button. For how they differ, see Choose servers.
- With the Veydan servers, you see a row with the server list and the Check for a new list button, and you can choose a region in the Region field.
- Silent mode: Disconnect from every relay and send nothing.
In the list, each relay shows its address, where it comes from (manifest or added by you), and its state: connected, connecting, disconnected, or paused. The switch in the row turns the relay on and off. You can delete only relays you added: the trash icon Remove relay.
If you have private servers, their list appears under the relay list. Private servers are added by their links and cards. The chats and groups of each go through it alone.
Add your own relay
- Under the relay list, enter an address like
wss://relay.example.com. If the relay asks for a key, enter it in the access key (optional) field. Then click Add: the relay appears in the list marked added by you. - To switch to your own servers, click Use only my servers. You need at least one relay of your own: otherwise the message Add at least one relay of your own first. appears.
Bridges
Where the direct way to the Veydan servers is restricted, Chat can reach them through a bridge: a server inside your country that passes the connection on. A bridge cannot read what it carries. A bridge sees your address, which Veydan server you connect to, and how much you send. It cannot read messages or files.
- Off: Directly. If that stops working and a bridge would help, you will be asked.
- On: Always through a bridge.
- Automatic: Directly while that works; through a bridge when it does not.
Under the switch, you can see how the connection works now (Directly or through a bridge) and how many bridges are known. The Check button tests both ways and shows the result, for example The direct way is restricted; a bridge works.
If the direct way stopped working and a bridge helps, the app shows a card above the chat list by itself: The connection is restricted. Click Turn on bridges or Later.
Add your own bridge
Get a link to the bridge from whoever runs it: it starts with veydan://vlink/. Paste it into the field in the Bridges card and click Add bridge.
To remove a bridge, click the trash icon Remove bridge in its row.
- This is not a link to a bridge.
- This is a link of another kind. A link to a bridge starts with veydan://vlink/.
- Neither the direct way nor a bridge works. Is there a connection?