Matrix Instant Messaging
The network hosts its own instant messaging, based on Matrix 🡕. Discussions, photo and file sharing, audio and video calls : everything stays with us, on our server.
What is Matrix?
Section titled “What is Matrix?”Matrix is a messaging system comparable to WhatsApp or Telegram, with three key differences :
- Private: messages are stored on the home server, not with a web giant.
- Encrypted: conversations are end-to-end encrypted by default.
- Open: you can choose your application (client) among several 🡕, on computer or phone.
Conversations are organized into rooms : one room per topic, per family, per project… and direct messages between two people.
Connecting
Section titled “Connecting”My Matrix ID is built from my usual account :
@prenom:domain.tld. No new password to remember, authentication
uses the network’s single sign-on (same as for other
services, see Managing my account).
-
On computer: I open
https://element.domain.tldin my browser, click Sign in, and authenticate with my network account. -
On phone: I install the Element app (Android or iPhone). At startup, I choose “Other server” and enter
matrix.domain.tld, then authenticate the same way. -
On first connection, Element prompts me to verify my session and back up my encryption keys. I follow the instructions : this will let me read my old messages on a new device.
Element X, the new app
Section titled “Element X, the new app”Element X 🡕 is the next generation of the mobile app : faster, smoother, and a lightning-fast connection via QR code, without typing anything.
-
I install Element X (Android or iPhone).
-
On a device where I’m already logged in (Element on desktop, for example) : Settings → Sessions → « Link a new device », a QR code appears.
-
In Element X, I choose « Sign in with a QR code » and scan it. Done : my rooms and my messages are there.
Without a QR code, the regular login also works : I enter the
matrix.domain.tld server and authenticate with my network account.
Another new feature : the page https://matrix.domain.tld/account shows
my connected devices. Handy for closing a session left open
on a forgotten device.
Making audio or video calls
Section titled “Making audio or video calls”In a room, the call button starts an audio or video conversation. Between two or more people : other room members see the call in progress and can join it with a click, no invitation needed.
It works from Element X, from Element on desktop and from the web client, including between different applications.
Bridges to WhatsApp, Telegram, and others
Section titled “Bridges to WhatsApp, Telegram, and others”A bridge connects Matrix to an external messaging service. Once the bridge is activated, my WhatsApp, Telegram, or Messenger conversations appear in Element as regular rooms: I read and reply from Element, while my contacts see no difference.
These bridges are built on the mautrix 🡕 project, the reference in the field. Each bridge has its own official documentation page, linked in the sections below.
Each bridge is operated by a bot: a special contact I send commands to. The principle is the same for all:
-
In Element, I start a direct conversation with the bridge bot (for example
@whatsappbot:domain.tld). -
I send it
loginand follow its instructions (scan a QR code, provide my phone number…). -
That’s it: my conversations appear gradually. Each user connects their own account, without interfering with other users on the network.
The WhatsApp bridge connects as a linked device, exactly like WhatsApp Web. Simple and reliable.
-
Start a direct conversation with
@whatsappbot:domain.tldand send itlogin qr. -
On the phone: WhatsApp → Settings → Linked devices → Link a device, then scan the QR code displayed in Element.
📖 Official WhatsApp bridge documentation 🡕
Signal
Section titled “Signal”The Signal bridge connects as an additional linked device, without touching the phone’s existing connection.
-
Start a direct conversation with
@signalbot:domain.tldand send itlogin. -
On the phone: Signal → Settings → Linked devices → Add, then scan the QR code displayed in Element.
📖 Official Signal bridge documentation 🡕
Telegram
Section titled “Telegram”The Telegram bridge connects with my phone number, like another Telegram client.
-
Start a direct conversation with
@telegrambot:domain.tldand send itlogin phone +33612345678(number in international format). -
Enter the verification code sent by Telegram, then, if my account has a “two-step” password, that password.
📖 Official Telegram bridge documentation 🡕
Messenger (Facebook)
Section titled “Messenger (Facebook)”The Messenger bridge connects by reusing the cookies of a session open in a browser. This is the most technical connection of all.
-
Start a direct conversation with
@messengerbot:domain.tldand send itlogin. -
Log in to
messenger.comin a private window, then follow the bot’s instructions to hand over the session cookies.
📖 Official Meta (Messenger) bridge documentation 🡕
Discord
Section titled “Discord”The Discord bridge connects with a simple QR code scan.
-
Start a direct conversation with
@discordbot:domain.tldand send itlogin-qr. -
Scan the QR code with the Discord app on your phone (Settings → Scan QR code).
📖 Official Discord bridge documentation 🡕
Useful commands
Section titled “Useful commands”Send to the bridge’s bot, in its direct conversation :
| Command | Effect |
|---|---|
help | List available commands |
login | Connect my account |
logout | Disconnect my account from the bridge |
See also
Section titled “See also”- Matrix in DNF : bridge architecture
- Matrix: operations guide : deployment and administration