A native Matrix client for Sailfish OS: a Silica interface on top of matrix-rust-sdk, the library behind Element X. The trustworthy and well maintained SDK does the heavy lifting (sync, end-to-end encryption, key backup, device verification); Rustrx is the Sailfish part around it.
The name is Rust and Matrix mushed together. The icon is a rainbow flag of connecting fibres, because Rust.
It started the evening a Jolla Phone 2026 was unboxed, and Matrix was the first thing that did not work. Sailtrix could not show the rooms properly, and its project does not take LLM-written contributions. Hydrogen is a web wrapper, and Element in App Support is not what you want on a Sailfish phone. So Rustrx was built that evening.
What the author did not find that evening was Xmatic, a native Matrix client that already existed and does more. Had it turned up, Rustrx would not have been started. That says something about how scattered the places are where Sailfish apps live. It also turned out to be lucky: Rustrx became a project worth finishing, and its differences grew on their own, from following one person's needs instead of looking at what other clients do. It is lean and text first, made for texting and sharing some pictures and files. Rooms and people sit apart by default, timestamps are short (5m, 3h, 2d), the room list can be sorted, filtered and searched, and it runs on community ports without sailfish-secrets. It makes classic 1:1 calls with Element and nheko, end-to-end encrypted and on the earpiece, which ring full screen as in the phone app, over the lock screen too; Element Call works in unencrypted rooms. It has threads, spaces with requests to join, Twemoji with custom emoji and stickers and an editor for their packs, Element's chat effects, and voice messages. It holds as many accounts as you like, each notifying on its own, and shows them apart or all in one list. What cannot be undone sits apart, under a "Danger Zone" header at the end of its page, and a message's long-press menu can be put in your own order.
- Log in on the server's own page in the browser where the server has an account service (OAuth 2.0 / MAS, matrix.org among them): the password never passes through Rustrx, which only gets a token. Elsewhere with a password or single sign-on. Everything on one page, errors shown inline, nothing thrown away. A server over plain http is taken only on the phone itself or the home network, and a browser login that ends in another account than the one typed is undone. "Create an account" makes one on the account service's page and logs in, or opens the sign-up page. The session is kept: Rustrx starts in about a second, and if a server really ends the session, it goes back to the login page and says so.
- Several accounts, as many as you like: the shown account's picture left of the tabs switches between them, and "Log in to another account" in the pulley of Settings > Account adds one more (the tab is called Accounts once there are several). Every account syncs and notifies at once, in the background and through push too; notifications name no account, and a tap opens the right one. Each keeps its own store and keys. "All accounts in one list" (Settings > App > Appearance, off by default) shows every account's rooms together, each marked with its account's colour, opens a room in its own account and answers every account's requests to join, each through its own account. Starting a chat, creating a room and searching say which account acts ("as …").
- Logging in with a QR code, both ways: Settings > Account > Link a new device shows a code for a new phone or scans the new phone's code, and the login page scans the code of a device that is logged in. The new device comes in verified, with the keys. It works with Element on the other side too, on servers that offer it (an account service with the QR rendezvous).
- Native sliding sync where the server has it (matrix.org does), classic sync otherwise, and a switch per account for servers whose sliding sync leaves rooms out. Sync comes back by itself after a Wi-Fi drop.
- Rooms, People, Favs and Spaces as tabs, paged the way Jolla's Settings are, or, if you prefer, one "Chats" list with or without the Favs and Spaces tabs. Invitations sit on top; their long-press menu has Decline and "Decline and block", which also ignores the person who sent it. Rows show the avatar with the unread count as a badge that grows to the full count ("20+" while only that many are known: the last message you read is further back than Rustrx has loaded), with an "@" at its end while a mention is unread, one to three lines of the last message, its age, a star for favourites, and in front of the message a stop sign for muted rooms, a lock for encrypted ones and a check when your own last message was read. A direct chat's picture has a dot while the person is online or away, where the server tells. Long press to favourite, mark read or unread (a badge without a number until you read it) or leave; "Mark all as read" in the pulley menu. Settings > Account > "Left rooms" lists the rooms you left or were removed or banned from, with when; a tap shows their history read only where the server allows, with Rejoin where the room's join rule allows it and Forget.
- A filter icon at the tabs: order by activity, unread first (most on top) or alphabetically; favourites on top, low priority at the bottom, hide muted, and only Unread or only Mentions as switches; "Filter by space", which shows only one space's rooms and those of its subspaces, in every tab but Spaces; and a search that narrows the lists while you type, kept with a check mark if you want it to stay. The filter icon pulses while its menu is open.
- "Add room or contact" in the pulley menu searches users and public rooms, takes a #alias or @user directly, keeps the ones you opened as Recent, and creates rooms and direct chats. A room opens on its join page first (what it is, Join or Ask to join), a person is asked about before a chat starts.
- A line under the tabs reminds you while this phone is unverified or has no recovery key, or when notifications are off for the account on its server.
- Conversations with text in markdown, replies that quote what they answer,
spoilers (covered until tapped;
||text||sends one), reactions (on joins and other state rows too), images, videos (full screen, a tap pauses, a swipe up or down leaves), audio, files, stickers, polls (made on the room's page with "Create a poll": a question, two to twenty answers, one or several choices, votes shown while open or only at the end; a tap votes, and on a multiple-choice poll adds or takes away an answer), locations (as their coordinates, a tap opens them) and state events. A link previews as a card with the page's title and picture (Settings > Privacy > "Link previews": Off, Unencrypted rooms only, the default, or Everywhere; your server fetches the page, so it learns the link). A tap on a link opens it, a long press opens the message's menu. "Search in this room" on the room's page filters the loaded messages by text, sender name or user ID, encrypted rooms too, and loads older ones on request; a tap goes to the message in the chat. A poll whose votes show only at the end hides its counts until then; your own vote still shows. A long press on a reaction shows who reacted, each reaction with its people; on a message, the reactions row and the entries above the menu's More… line, as many as the chat's height has room for (by default Reply, Reply in thread, Edit, Edit history, End poll, Copy text and Save, where the message has them); the rest are on the "More…" page, which shows the whole message as it looks in the chat above them. Settings > App > Behaviour > "Longpress option order" puts the entries and the More… line in your own order by dragging them. The entries: reply, reply in thread, quote (the message into the text field as a "> Sender: text" quote), edit and remove your own messages (a picture's, video's, file's or audio's caption too, keeping the file; an edited /me stays an /me), the edit history of an edited message (its versions, newest first), end your own poll, copy the text (a caption too), save a picture, video, sound or file (into Pictures, Videos, Music, Documents or Downloads, by its kind), select text, select several messages to forward, delete or copy together, copy a link, forward to another room, add a custom emoji, make a custom emoji of a picture, view the source, pin, report, and cancel a running upload. A message that did not go out says so in red; a tap sends it again, and one that could not be encrypted because the server did not answer says that. A double tap on a message replies. A tap on a message shows its details in place of its time, as Jolla Messages does: the full date and time, the sender's Matrix ID, sent or read for your own, the encryption, "edited" (a tap opens the edit history) and, on the last message each person has read, their names (as "Show who has read a message" allows); a second tap hides them. On a picture, video, sticker or file a tap on it opens it and a tap on its time line shows the details. A tap on a sender's name mentions them in the text field. GIFs move while on screen (Settings > App > Behaviour: play, loop). Pictures and videos show a blurred preview (blurhash) while they load, where the message carries one. Settings > App > Behaviour > "Load pictures and videos automatically" is Always, In private rooms only, or Never; held ones load on a tap, and your own always show. Voice messages play at 1x, 1.5x or 2x, a toggle on the player after the first tap. Room changes read as words ("Roles and permissions changed", "Who can join changed") and profile changes name the person ("Anna changed their picture"); Settings > App > Behaviour > "Hide joins, leaves and changes" keeps joins, leaves, invitations, members' new names and pictures and changes of the room's name, picture and topic out of the chat, while removals and bans still show. Messages sit in bubbles, without avatars: the sender's name is inside. The header shows the room's picture and who is typing, or who is typing shows above the message field (Settings > App > Appearance > "Show who is typing above the message field"); "read by ..." shows read receipts, never naming the sender. A room opens at the first unread message, or at its end with the message field in view when nothing is unread or the unread ones lie far back; "Jump to a date" on the room's page goes to a day's first message, also one older than the loaded history (where the server can look it up), and "↓ Newest" brings the live room back. Send and the emoji button stay at the bottom of a long message, on the field's underline. Drafts are kept per room and per thread, and an unsaved edit comes back when the room is opened again. Pinned messages: a pill under the header steps through them; pinning and unpinning in a message's menu, where the room allows it. - Threads: replies in a thread are marked in the room and open their thread; a thread's page shows it alone with its own text field; "Reply in thread" in a message's menu; the room's threads, with the new replies marked, in its settings.
- Spaces: a tab with your spaces, each with its rooms and subspaces, joined or not; making spaces and rooms in them, adding and removing rooms, leaving a space alone or with its rooms. Who can join a room or space (invited only, ask to join, members of the space, anyone); requests to join with a notification and a list to accept, decline or ban; asking to join yourself; a preview before joining by address or link. Joining by part of a name searches the public directories of your server and matrix.org, or another server you name.
- Classic 1:1 calls in direct chats ("Direct call (Matrix VoIP)" in the
pulley of the chat's page), the ones Element Web and Android and
nheko make (
m.call.*): end-to-end encrypted in an encrypted chat, audio through GStreamer's WebRTC with Opus and an echo canceller, on the earpiece like a phone call (the speaker button for the loudspeaker), the screen dark at the ear, the phone kept awake for the whole call. A ringing call opens the call page full screen, as in the phone app: with Rustrx closed (through the background stand-in or push), behind other apps and over the lock screen, where it is answered without unlocking. It is answered with a swipe, from its notification (also with Rustrx closed) or from the cover; Settings > App > Behaviour > "Force Call UI in front on incoming calls" turns the full-screen page off. Each room's page has "Ring me in this room": on, a call there rings; off, it is a quiet notification with Answer and Decline. It starts on in rooms of two and off in groups, and stays as it is when more people join. A call nobody answered leaves one "Missed call" notification. A second call is told you are busy. By default only through the server's relay (Settings > Privacy > Calls), so the other side never sees the phone's address. Music and other players pause while a call rings or runs and play again after it (Settings > App > Behaviour > "Pause music during calls", on by default; Element Call too). How the earpiece works on Sailfish OS: docs/CALLS.md. - Calls through Element Call in a WebView ("Group call (Element Call)" in the pulley of a room's page), with the SDK's widget driver behind it: incoming calls ring (VoIP ringtone, Answer, Decline), a running call shows in the room and the list. Unencrypted rooms only for now: Sailfish OS 5.2's Gecko 115 cannot do Element Call's encryption.
- Emoji as Twemoji pictures; an emoji picker in the keyboard's place behind a smiley button (your five most used on top, a swipe down closes it); custom emoji and stickers from Matrix image packs, "Add to my emoji" for one you see, and "Create emoji from image" from a picture in the chat or from the gallery (Settings > Account > Custom emoji): cropped square, named by a shortcode, into your own pack; "Emoji and sticker packs" next to it edits your own pack and the room packs you may change (create, rename and remove packs, add, rename and remove images, each as emoji, sticker or both, and switch a room's pack on for every room); custom emoji in an /me go out as pictures too; reactions with any text. ":" and a few letters in the message field offers matching emoji, your custom emoji first, also while word prediction is still composing the word; "#" offers your rooms to link.
- Slash commands: "/" at the start of the message lists every one that matches, each with a line on what it does, in a suggestion list up to seven rows high that scrolls beyond; only those your power level in the room allows show, and the list follows a changed role at once: /ban, /confetti, /deop, /fireworks, /hearts, /ignore, /invite, /join (or /j, /goto), /kick (or /remove), /leave (or /part), /lenny, /me, /msg, /myroomnick (or /roomnick), /nick, /op, /plain, /rainfall, /react (while replying), /roomname, /shrug, /snowfall, /spaceinvaders, /spoiler, /tableflip, /topic, /unban, /unflip, /unignore, /whois (opens the person's page); in a thread, the ones that act on the whole room are left out. /leave and /ignore run after a countdown. A person is a Matrix ID or a name picked with "@"; "//" sends a "/". A message with @room in a group, where you may notify the whole room, goes after a countdown ("Notifying everyone in the room"), so you can still stop it.
- Chat effects, as Element has them: confetti, fireworks, rainfall, snowfall, space invaders and hearts play over the chat when a new message brings them, by its Element effect type or by one of the emoji Element plays them for (🎉 🎊, 🎆, 🌧 ⛈ 🌦, ❄ 🌨, 👾 🌌, 💝), also your own; never for older messages or when a room opens. /confetti and the others send what Element sends, so Element plays them too (nheko plays its two, confetti and rain); like Element, they go into the room, not into a thread. Off switch: Settings > App > Appearance > Chat effects.
- A hardware keyboard: Settings > App > Behaviour > "Send with a hardware keyboard" makes Enter send while the slide-out keyboard is open (Shift+Enter is then a new line), or Ctrl+Enter send; Off by default. Up in an empty message field edits your last message.
- A push-up menu with three entries: "Send media or file" (pictures, videos, a file or your location, with its accuracy, no map, on one page), "Take a photo or video" (autofocus, a photo/video switch beside the shutter that is remembered, videos in the largest 16:9 size the camera offers with the camera's start and stop sounds, up to 10 minutes, a preview before sending), and "Record a voice message" (Ogg/Opus): recording starts as soon as the recorder opens, which has Pause, Discard and Send, and a pause leaves no gap in the file. Pictures go out upright and scaled down, with the composer text as caption and a blurhash for the others' preview, and show in the room at once with their upload progress. A picture Rustrx cannot take the location and camera data out of (HEIC, for example) is not sent while Settings > Privacy > "Leave out when sending" asks for that, with a note. Videos can go smaller, as WebM (Settings > App > Behaviour > "Send smaller videos", Original by default). A file the server refuses as too large says so and holds back nothing after it. Pictures open in a viewer with pinch zoom, a swipe to the next picture, a swipe down to leave and Save in its push-up menu.
- Received media saved by itself, opt in: Settings > App > Behaviour > "Save received media", or a room's own choice on its page (Default, Save, Do not save). Only what others send after it went on, up to 20 MB, into Pictures, Videos, Music, Documents or Downloads; where pictures wait for a tap, they are saved once loaded, messages decrypted later are saved too, and a file that reaches several accounts is saved once.
- The share sheet: "Send to a room" from the gallery, the browser and other
apps, with a look at where it goes and what is sent before it goes; the
file is copied in the background, so the screen does not freeze.
matrix:and matrix.to links open in Rustrx; a room link from another app waits for "Look up" before the server is asked, and a room opened from another app's link sends no read receipt until you touch or scroll it. - A page for each room: its picture (moderators can change it, with a photo or from the gallery), name, topic, address, encryption, favourite, low priority, members, invite, its own notification level and "Ring me in this room", "Search in this room", "Jump to a date", "Media and files" (the room's pictures and videos in a grid and its files in a list, to open and save), "Save received media" (Default, Save, Do not save), how many members have a device they did not verify, "Export chat" (the loaded chat as plain text into Documents), "Create a poll", "My name in this room" and "My picture in this room" (for that room only), and "Delete my messages" (off, or after 1 day, 1 week or 1 month: your own messages there once they are that old, while Rustrx runs). People you invite can read the room's earlier encrypted messages where its history is shared. Its pulley starts with "Direct call (Matrix VoIP)" in a direct chat, then "Group call (Element Call)"; leaving the room or space is a button at the end of the page. Moderation as the room's power levels allow: roles, muting, removing, banning (from a whole space too), revoking invitations, removing someone's recent messages, who may do what, who can read the history, guests, the room directory, server access lists, upgrading a room. Moderators can be told when someone joins their room (Settings > App > Notifications).
- Danger Zone: what cannot be undone sits under its own header at the end of a page, apart from the rest. Leaving a room or space on the room's page, Log out now and Deactivate account on the Account tab, resetting encryption and a new recovery key on Settings > Account > Encryption, and lowering your own role on your own page in a room. Logging out without the recovery key on the phone asks first and offers to set the key up.
- Notifications per room, updated in place, with the sender's picture, opening the room on a tap, and one for each new invitation; also while Rustrx is open, except for the room in front.
- The account's notification rules, kept on the server so every app of the account follows them, in Settings > App > Notifications: the default for direct chats and for groups, @room mentions, invitations, calls, and Keywords, words that notify you like a mention.
- Notifications with Rustrx closed, one choice in Settings > App > Notifications > "When Rustrx is closed": push through UnifiedPush (Foghorn from OpenRepos as the distributor; the homeserver pushes through a Matrix gateway, D-Bus activation wakes Rustrx for one message, calls included, nothing keeps running), or, without a distributor, "Keep running in the background": a stand-in without a window stays connected, notifies within seconds while the phone is awake and checks every five minutes while it sleeps, and starts with the phone. Rustrx starts it through systemd path units of its own, so the sandbox needs no permission to start services. A line in the events view shows it runs; tap it to open Rustrx, or quit it there. A distributor installed after "Keep running in the background" was chosen for lack of one takes over, also while Rustrx runs. When the distributor drops Rustrx's registration (Foghorn does when its provider is switched), Rustrx registers again, and the stand-in covers meanwhile.
- Device verification by emoji comparison, incoming or started from Settings (tested with nheko), or by a QR code one device shows and the other scans; every waiting step says what it waits for and from whom (the other person, or your own device by name), and after a while a hint says what to do and that starting again is safe; a scanned code with the wrong keys says so; a verification you asked for goes on when the other side starts the emoji comparison first; another person's request comes as a notification first and opens on a tap; restoring encrypted history with the recovery key; key backup; room key export and import.
- Trust in others: when someone's identity is reset, an encrypted room shows a banner, and their page offers Verify, Withdraw verification (if you had verified them) or Dismiss the warning. A person's page lists their devices, each marked when its owner did not verify it, and a room's page says how many members have a device they did not verify.
- Status: Settings > Account > Status (Automatic, Online, Away, Offline) and a status message; a person's page shows theirs. Privacy's "Show me as online" still decides whether others see it.
- Settings in four tabs, with a magnifying glass beside them that opens the settings search: it lists every setting, narrowed as you type (by name, description, choices and the tab, section and page names, so "Priv" finds all of Privacy), and a tap takes you to the setting and lights it for a second; nothing is changed from the search. Account (Accounts with more than one): one's own picture and display name, Status and a status message, a security ring that turns green once the store is encrypted, the device verified, a recovery key set and the other devices verified, with each gap named; Encryption and the logged-in Devices (renamed from a long press, this phone marked "This phone" on a line under its name; removing one on a server that confirms through its sign-in page opens that page in the browser), Link a new device; Account management with Change password (or the account service's page) and Manage account; Left rooms; classic sync; Custom emoji (Create emoji from image, Emoji and sticker packs); the debug log, and Log out now and Deactivate account (with the password, after which the phone forgets the account, or on the account service's page) under Danger Zone. Privacy: read receipts, typing, showing as online (off by default), link previews (unencrypted rooms only by default), what pictures and videos leave without (nothing, the location, or all metadata but which way up they are, the default; JPEG, PNG and MP4), calls only through a relay (on by default), message text and chat names (and who calls) outside Rustrx, invitations from strangers, ignored users; these live in Rustrx's own settings file. App: notifications (with Rustrx closed, Reply and emoji in notifications, joins to your rooms, the account's rules on the server and Keywords), appearance (who is typing above the message field, avatar corners from square to round, the Favs' glow, chat effects, preview lines, the tabs, all accounts in one list and their colours), behaviour (reopen the last chat, lock to portrait, smaller pictures and videos, loading pictures and videos automatically, saving received media, GIFs, hide joins, leaves and changes, Force Call UI in front on incoming calls, pause music during calls, the hardware keyboard's send key, Longpress option order), storage. About, with the credits. Portrait and landscape, or locked to portrait.
- The local store (messages and keys) is encrypted with a key kept in sailfish-secrets where that works. On community ports without it Rustrx still runs, unencrypted, and says so once after login, with the command that installs Secrets. New installs get a Secrets collection of their own; if Secrets refuses Rustrx, the Account tab says so, and a missing key asks before starting over. If a server ends the session, the store and the device are kept, so logging in again brings back keys and history; only a sign-out the server makes final (a classic server without refresh tokens) wipes the messages and media on the phone.
- A debug log, on until 1.0 and off with a switch: if something goes wrong, Settings > Account > Debug log > "Share the debug log" hands it to the share sheet, so nobody has to make it happen again; no copy goes to Downloads. It holds room and user IDs, never message texts or passwords, and URL queries, tokens and server bodies are cut from every line. During a call it also holds Element Call's own warnings, with query strings and long ids cut out.
- The cover shows unread counts and the connection state, with actions for search and the latest room with unread messages; during a call, the call.
Chat effects, an emoji and sticker pack editor, jump to a date, and the core on matrix-sdk 0.20.
Chats:
- Chat effects, as Element has them: confetti, fireworks, rainfall, snowfall, space invaders and hearts over the chat when a new message brings them, by its emoji or its Element effect type, never for older messages. /confetti, /fireworks, /hearts, /rainfall, /snowfall and /spaceinvaders send what Element sends. Off switch: Settings > App > Appearance > "Chat effects".
- A tap on a message shows its details in place of its time, as Jolla Messages does: the full date and time, the sender's Matrix ID, sent or read for your own, the encryption, "edited" (a tap opens the edit history) and the names of those who read up to it. A second tap hides them; a double tap still replies.
- A tap on a sender's name mentions them in the text field.
- The "More…" page shows the whole message as it looks in the chat, with every action in view below it.
- "Jump to a date" on a room's page: a loaded day at once, an older one looked up on the server, its first message marked; "↓ Newest" brings the live room back.
- The picture viewer swipes between a room's pictures, in the chat and in Media and files, and a swipe down leaves it, as in the Gallery. Save moved into its push-up menu.
- Send and the emoji button stay at the bottom of a long message, resting on the text field's underline, also while editing.
- A room whose newest message is longer than the screen opens at its end with the message field in view.
- Editing an /me keeps it an /me, and custom emoji in an /me go out as pictures.
Emoji:
- "Emoji and sticker packs": your own pack and the room packs you may change. Create, rename and remove packs; add, rename and remove images, each as emoji, sticker or both; switch a room's pack on for every room.
- Settings > Account has a "Custom emoji" section with "Create emoji from image" (was "Make custom emoji") and "Emoji and sticker packs".
Settings and rooms:
- The settings search opens from a magnifying glass beside the tabs, in place of the search line at the top of every page.
- Settings > Account > "Left rooms": the rooms you left or were removed or banned from, with when. A tap shows their history read only where the server allows; Rejoin where the room's join rule allows it, and Forget.
- With several accounts, starting a chat, creating a room and searching say which account acts ("as …"), and the all-accounts list answers every account's requests to join, each through its own account.
Trust:
- Verification says what it waits for and from whom (the other person, or your own device by name), and after a while what to do if nothing happens, and that going back and starting again is safe.
- A verification you asked for no longer stalls when the other side starts the emoji comparison first (thanks dodoradio for the log from Beeper).
- A scanned QR code with the wrong keys is named as such.
- Removing a device on a server that confirms through its sign-in page opens that page in the browser and finishes the removal on return.
Push and background:
- A distributor (Foghorn) installed after "Keep running in the background" was chosen for lack of one now takes over, also while Rustrx runs (thanks Cahoots).
- A push registration that Foghorn drops, for example after switching its provider, is handled: Rustrx registers again, and the background stand-in covers meanwhile (thanks projectmoon).
- An update installed while Rustrx runs no longer mixes old and new: the background stand-in restarts, and an open Rustrx asks to be closed and opened again (thanks Cahoots).
Media:
- "Save received media" also saves what is decrypted later, and a file that reaches several accounts only once.
- A picture Rustrx cannot take the location and camera data out of (HEIC, for example) is not sent while Settings > Privacy > "Leave out when sending" asks for that, with a note.
- A file shared into Rustrx is copied in the background, so the screen no longer freezes.
Fixes:
- With "Show who is typing above the message field" off, its line no longer lies over the newest message (thanks dodoradio).
- A direct chat's online dot in the room list now shows on accounts with sliding sync too: the person's presence is fetched when the chat opens and for the five most recent direct chats; a stale dot goes out.
- Unread counts in busy rooms no longer grow with every visit, and a room whose unread messages lie far back opens at its newest message.
- A room no longer says "No messages yet" while it is still loading.
- A room whose emoji packs cannot be fetched (very large rooms) is asked again only after a growing pause, not on every open.
Under the hood:
- The core moved to matrix-sdk 0.20. The first start after the update fetches each room's history again, so the first open of each room is slower once.
- Rustrx frees memory after you leave a room.
Trust, media, the settings search, and the first outside code contribution.
Trust:
- When someone's identity is reset, an encrypted room they are in shows a banner. Their page offers Verify, Withdraw verification (if you had verified them) or Dismiss the warning.
- A room's page says how many members have a device they did not verify, and a person's page lists their devices, each marked when its owner did not verify it.
- Verification by QR code, both ways ("Show my code", "Scan their code"), next to the emoji comparison.
Media:
- "Media and files" on a room's page: its pictures and videos in a grid and its files in a list, loaded in bounded steps, older ones on request; they open and save from there.
- Settings > App > Behaviour > "Load pictures and videos automatically": Always, In private rooms only (direct chats and invite-only rooms) or Never. Held ones show "Tap to load"; your own always show.
- Settings > Privacy > "Link previews": Off, Unencrypted rooms only (the default) or Everywhere. A card with the page's title and picture under a message's first link. Your server fetches the page, so it learns the link; the link is never logged.
- "Save" (was "Save to Downloads") puts a file where it belongs: pictures into Pictures, videos into Videos, sound into Music, documents into Documents, each under Rustrx; voice messages and anything whose name and content disagree into Downloads (thanks doctorflynt).
- "Save received media", opt in: Settings > App > Behaviour for the whole app, and a room's own choice on its page (Default, Save, Do not save). Only what others send after it went on, up to 20 MB each; where pictures wait for a tap, they are saved once loaded (thanks doctorflynt).
- "Create emoji from image": a picture from a picture's menu in the chat, or from the gallery on Settings > Account. A square crop, a shortcode, at most 256 px, into your own pack (thanks dodoradio).
- The camera records videos too: "Take a photo or video" in the push-up menu, a photo/video switch beside the shutter as in Jolla's camera, the time at the top while recording. A recorded video goes out as one from the gallery: metadata stripped, smaller when the setting asks for it.
- The push-up menu has three entries instead of four: "Send a file" is a row on the "Send media or file" page, beside Pictures, Videos and Location.
Chats:
- A long press on a link opens the message's menu instead of the link; a tap still opens it (thanks doctorflynt).
- "Select" in a message's menu: select several messages to forward, delete or copy together.
- "Location" on the push-up menu's media page sends where you are, with its accuracy, no map. A location in the chat shows its coordinates, and a tap opens it.
- Status: Settings > Account > Status (Automatic, Online, Away, Offline) and a status message. A person's page shows their status, and a direct chat's picture in the room list a dot while the person is online or away, where the server tells (sliding sync carries no presence of others).
From Lowxorx (pull request #5, the first outside code contribution):
- More slash commands: /myroomnick (your name in this room), /unflip, /whois (opens the person's page), and /j, /goto, /part, /remove and /roomnick as other names for /join, /leave, /kick and /myroomnick. In a thread, the commands that act on the whole room are left out.
- "Read by" no longer names the message's sender.
- Settings > App > Appearance > "Show who is typing above the message field". Off, it stays in the room's header.
Room list:
- "Filter by space" in the filter menu: one space's rooms and those of its subspaces, in every tab but Spaces. The row names the space; its cross ends the filter.
- "Unread" and "Mentions" in the filter menu show only the rooms with unread messages or with a mention of you.
- The filter icon pulses while the filter menu is open, a hint that a tap there closes it.
Settings:
- "Search settings" as the first line of every settings tab and page (but Link a new device, while its QR flow runs): a page with all settings, narrowed as you type, by name, description, hints, choices and the tab, section and page names ("Priv" finds all of Privacy). A tap jumps to the setting and lights it for a second; nothing is changed from the search. Settings hidden at the moment are left out.
Calls:
- Settings > App > Behaviour > "Pause music during calls", on by default: music and other players that play pause while a call rings or runs, also during Element Call, and only those play again 2 s after it ends.
Fixes from the checks on the Jolla C2:
- A location row shows its coordinates, not the raw geo URI, and a sent location's text reads "Location: , ".
- The crop square of a new emoji is removed only after the crop dialog is gone.
- Verification texts no longer speak of emoji only ("Verified.", "Accept to verify, by emoji or QR code.").
- The space filter page no longer logs a colour warning, and a missing emoji pack on the server is no longer logged as an error.
Rustrx now asks for the Location permission, so Sailfish asks once after the update to confirm the permissions.
Features inspired by the popular clients (Element X, Element Web, nheko, FluffyChat, Fractal and Cinny) that Rustrx had not thought of or needed so far.
Chats:
- "Search in this room" on the room's page: filters the loaded chat by text, sender name or user ID, also in encrypted rooms, and loads older messages on request. A tap goes to the message.
- A long press on a reaction shows who reacted, each reaction with its people.
- Polls: "Create a poll" on the room's page (a question, two to twenty answers, one or several choices, votes shown while open or only at the end) and "End poll" for your own. A vote on a multiple-choice poll adds or removes one answer instead of replacing the vote. A poll whose votes show only at the end hides its counts until then; your own vote still shows.
- "Quote" (below More… by default) puts "> Sender: text" into the message field.
- "Edit history" on an edited message: its versions, newest first.
- Edit changes the caption of a picture, video, file or audio message and keeps the file.
- Voice messages play at 1x, 1.5x or 2x, a toggle on the player after the first tap.
- "Export chat" on the room's page: the loaded chat as plain text into Documents.
- Pictures and videos show a blurred preview (blurhash) while they load, and the ones Rustrx sends carry one.
- Settings > App > Behaviour > "Hide joins, leaves and changes". Removals and bans still show.
- Room changes read as words ("Roles and permissions changed", "Who can join changed") in the chat, Select text and Export chat, and profile changes name the person ("Anna changed their name to Bo"), with the user ID only beside a shared name.
Composer:
- "/" lists the matching commands with a line each as you type, now 21 of them. New: /ban, /deop, /ignore, /kick, /leave, /lenny, /msg, /op, /roomname, /spoiler, /tableflip, /unban, /unignore. Commands your role does not allow are hidden and refused, the list follows a changed role at once, and /leave and /ignore run after a countdown.
- The suggestion list is up to seven rows high and scrolls beyond, so "/" shows every matching command, not only five.
- ":" and a few letters suggests emoji, your custom emoji first; "#" suggests rooms and links them.
- A message with @room in a group, where you may notify the room, goes after a countdown ("Notifying everyone in the room"), so you can still stop it.
- With a hardware keyboard, Settings > App > Behaviour > "Send with a hardware keyboard" sets the send key (Off, Enter while the slide-out keyboard is open, or Ctrl+Enter), and Up in an empty message field edits your last message.
Rooms:
- "Mark as unread" in a room's long-press menu (a badge without a number until you read it), and "Mark all as read" in the room list's pulley.
- Searching other servers' room directories: the join page's "Directory" takes another server, and a typed name that is no server name is refused instead of searching your own.
- An invitation's menu has "Decline and block", which also ignores the person who sent it.
- "My name in this room" and "My picture in this room" on the room's page, for that room only.
- "Delete my messages" on the room's page: off, or after 1 day, 1 week or 1 month, your own messages there once they are that old, while Rustrx runs.
- People you invite can read the room's earlier encrypted messages where its history is shared.
Notifications:
- Settings > App > Notifications holds your account's rules on the server: the default for direct chats and for groups, @room mentions, invitations, calls, and Keywords.
Account:
- Devices can be renamed (Settings > Account > Devices, from a long press). This phone shows "This phone" on a line of its own under its name.
- Account management on the Account tab: "Change password" (or the account service's page where the server has one) and "Manage account". "Deactivate account" sits under Danger Zone and takes the password, after which the phone forgets the account.
Calls:
- Element Call joins only after you tap Call on the first-call notice. Before, it could join, and ring the other side in a direct chat, while the notice was still open.
Security, the open items of our own audit, done or decided (the record in docs/audits is updated):
- A room opened from another app's
matrix:or matrix.to link sends no read receipt until you touch or scroll it, also when it was open already. Notification taps and rooms opened in Rustrx read as before. - A browser login that comes back with an error (which another app on the phone can send) shows "The login in the browser was interrupted. Please try again."; the raw error goes to the log only.
- The message HTML cleaning handles bare ampersands and entities in attributes, reads attributes in one pass, and removes nested reply fallbacks in linear time.
- With the debug log off, only warnings reach the system journal; log and voice files are private to Rustrx.
- A crash note in the log names the place and the first 40 characters,
the full text only with
RUSTRX_LOG. - The core deletes an uploaded file only from its own outgoing folder.
- The event callback is guarded, and an event that cannot be read is dropped.
- The push gateway is decided only by a real answer from the server; no answer is tried again, then guessed and asked again at the next login.
- The test hooks' password login and add-account need the test setup's token.
- Sender pictures unused for 30 days are swept from the cache.
- A dependency check (cargo-deny) runs nightly; curve25519-dalek 5.1.0.
Speed:
- The core is built with a release profile (opt-level 3, one codegen unit, thin LTO). On the Jolla C2 the library went from 84.9 to 57.9 MB, the memory in use from 45 to 34 MB, and a cold start reaches sync in 340 ms instead of 460 ms.
- The performance audit's other open items: some measured and left as they are, ten found fixed already, a few still open; its record is updated.
Chats:
- A message's long-press menu in your own order: Settings > App > Behaviour > "Longpress option order" is a list to drag, with More… as one of its lines. The entries above it go into the menu as far as the chat's height has room for them, the rest onto the More… page.
- "Copy text" is one entry, so pictures and files with a caption have it in the menu too.
- Voice messages in one tap: recording starts as soon as the recorder opens, and the recorder has Pause, Discard and Send. A paused recording leaves no gap in the file (thanks Tealk).
- A message that could not be encrypted because the server did not answer says so: "Could not set up encryption with the other side, the server did not answer". Key requests that go through other servers get more time.
Calls:
- "Ring me in this room" on each room's page. It starts on in rooms of two and off in groups, and stays as it is when more people join. Off, a call there is a quiet notification with Answer and Decline.
Rooms and settings:
- Leaving a room or space is a button at the end of its page, no longer the pulley entry nearest the finger, and the pulley starts with Call (thanks dodoradio).
- What cannot be undone sits under its own "Danger Zone" header at the end of a page: leaving a room or space, logging out, resetting encryption, a new recovery key, and lowering your own role in a room.
- The Account tab is called "Accounts" when there is more than one.
Background:
- Rustrx drops the sandbox permission to start services (AppLaunch). The app and the stand-in write a request file in their own config folder, and two systemd user path units start the stand-in or the app on it. Because the permissions change, Sailfish asks once after the update to confirm them.
Calls:
- An incoming call opens the call page full screen with Answer and Decline, as the phone app does: with Rustrx closed, behind other apps, and over the lock screen, in a window of its own that is answered without unlocking and shows nothing else of Rustrx.
- Settings > App > Behaviour > "Force Call UI in front on incoming calls" (on by default) turns that off: a ring is then its notification only.
- Calls ring with Rustrx closed on phones with a push distributor (Foghorn). Before, such a call came only as a message line. The caller's hangup ends the ring in encrypted rooms.
- A call nobody answered leaves one "Missed call" notification, as the phone app's, whose tap opens the room, and no message line for it.
- The ring lasts as long as the invite is still valid, not a flat minute, and the caller waits 10 s past the invite's lifetime, so an answer that arrives late on two slow servers still connects.
- Calls ring only in rooms of two. In a group, a call is a quiet notification with Answer and Decline, with no ringtone and no call page. (0.8.5 turns this into "Ring me in this room", a switch per room.)
- Calls go through the server's relay by default (Settings > Privacy).
- An Answer on a ring that is already over opens the room and starts nothing.
- "Call again" shows only for a call placed on this phone, never over the lock screen, and a call placed here that failed keeps "Call again" and "Close".
- A call no longer hangs in "Connecting" when the audio could not start after the wait for the relay's credentials.
- On phones whose proximity sensor reads "near" at once (the C2), the call page goes dark at the ear only after the sensor has said "far" once in that call.
- Only the invitee's answer and candidates count before a call is answered; the other side's SDP is capped at 64 KB, its candidates at 200 a call, and only its first Opus audio stream is played.
- The log names the ICE candidate types and the pair in use, never an address.
Background and push:
- The background stand-in no longer starts without a saved login, and a tap on the icon while it leaves opens the app instead of nothing.
- Answer and Decline on a call notification work with Rustrx closed.
- Reply, emoji and Mark as read on a notification work with push on but no distributor installed.
- A ring the stand-in posted and the app took over ends with the call, ringtone included.
- A stand-in that finds Rustrx already running leaves at once instead of waiting 10 s.
systemctl --user stopand the session's end run the normal quit, so the session is saved and the stores are closed.- The stand-in's Quit is taken only while its background line is up.
Security, from our own audit (the record is in docs/audits, and the security review guide is updated from it):
- Notification actions (Reply, emoji, Mark as read, Answer, Decline) are taken only from a process of the same user and only for a notification Rustrx has up.
- Reply always goes to Rustrx's own name. Another program holding Rustrx's push name must prove it is Rustrx; if it cannot, push pauses, the background stand-in takes over, and Settings shows it in red.
- A second launch hands the stand-in over with a proof of a secret, not a plain call; a push-woken Rustrx that finds its name held by another program says "Rustrx could not start", once per boot.
- The push distributor is matched by its exact name, and a new one needs your yes once ("Use %1 for push?").
- Plain http servers are taken only on the phone itself and the home
network, whether typed, found through
.well-knownor in a QR code. - Link a new device opens the new device's consent page only on your account service's own host.
- A browser login (single sign-on, OAuth) that ends in another account than the one typed is logged out and refused.
- Another person's verification request comes as a notification first, naming their user ID, and opens on a tap.
- New installs keep the store key in a Sailfish Secrets collection with a name of their own; a refusal by Secrets has its own state on the Account tab.
- No new store key is made while Secrets' answers contradict each other; with an encrypted store and no key, Rustrx asks before starting over, and the old stores are moved aside, never deleted.
session.jsonis removed only when the key really cannot open it.- A sign-out that the server makes final wipes the messages and media on the phone; every other kind keeps them for a login again.
- Element Call gets only the capabilities a call needs, not everything it asks for.
- Pictures are decoded only as JPEG, PNG, GIF or WebP, by their bytes, each by its own decoder; anything else is a file.
- A picture larger than 40 megapixels is not decoded at all, and notification icons render at 256 px at most.
- Received audio and video that is a playlist fetches nothing.
- A message that would draw more than 200 000 characters (deeply nested lists did) shows "Message too long to show".
- Message HTML renders about twenty times faster on long input.
- Custom emoji: at most 64 per message, four downloads at a time, none above 256 KiB.
- A picture larger than 20 MB by its message shows "Large file, tap to load", and the media folder is swept again after every 50 MB written.
- Files open only when name and content agree on a safe kind; the rest is saved, with its name cleaned of bidi and zero-width characters.
- A link whose text names another address than it opens asks first.
- A room link from another app waits for "Look up".
- People who share a display name show their user ID beside it, in the chat, quotes, the room list and notifications.
- Forwarding a file from an encrypted room into an unencrypted one uploads a fresh copy, so the file's key stays out.
- Collected logs go to the share sheet from Rustrx's own cache, with no copy in Downloads.
- Key exports are written privately and copied without following a link; a second export on the same day gets a new name.
- Privacy settings (receipts, typing, presence, notification text, invitations from strangers, the last room, search history) moved out of dconf into Rustrx's own settings file; the debug switches act only on a test setup.
- URL queries, tokens, server error bodies and command values are cut from every log line, core and app.
- Shared files each go into a folder of their own, written new, under one size cap.
- The QR scanner no longer crashes the app on some noisy camera frames.
- Cache files are named by a hash of their ids, so two rooms or emoji can never share one.
- A file saved to Downloads cannot be redirected through a planted link.
- Sent voice messages and prepared uploads are swept from the cache.
- The password field is emptied after a login.
url2.5.9.
Chats:
- Quick reactions show only emoji and short text, and nothing runs over the buttons beside them (thanks dodoradio).
- Closing the pulled-up menu in a chat no longer makes the chat bounce, and reaching the bottom no longer loads older history (thanks projectmoon).
- Jumping to the first unread message shows the small loading indicator at the top of the chat, not a large one over the messages (thanks projectmoon).
review-and-architecture-hints.md is the map for reviewers. security-review-guide.md is where a security review starts.
core/ is a Rust crate that wraps matrix-rust-sdk behind eight C functions
(core/src/lib.rs). Commands go in as JSON, events come back as JSON on one
callback. It is cross-compiled for aarch64 with cargo-zigbuild
(core/build-aarch64.sh), because the Rust shipped in the Sailfish SDK is too
old for the SDK, and placed at lib/librustrx.so.
The rest is an ordinary Sailfish application (qmake, rpm/, qml/,
src/). The C++ in src/ is the bridge from the callback to the GUI thread,
plus the list models. It is built with the Sailfish Platform SDK and installs
the core next to its data in /usr/share/harbour-rustrx/lib.
Background mode is the same binary started by a systemd user unit
(systemd/harbour-rustrx.service) without a display connection: it loads
only qml/Service.qml (sync, notifications, the events view line). The
session bus name is the lock between the two. When the app opens, the
stand-in hands over and quits; when the app closes, it asks for the unit
again by writing a request file in its own folder, which a systemd path
unit watches. A window-less process that needs the app (a ringing call)
asks for it the same way, through a second path unit, so the sandbox needs
no permission to start services. The stand-in never has a window, because lipstick 0.37.6 crashes
when a process exits after hiding or recreating its window.
0.8.8. From "let's build a client" to 0.2.0 in one evening, used daily on the Jolla Phone 2026 since, and developed and maintained for the long run. Tested with several accounts at once, on matrix.org, tchncs.de and a server of our own with an account service (OAuth 2.0 login, QR login and linking). Push through UnifiedPush works with Foghorn as the distributor, calls included; the stand-in remains the fallback without one.
The road from here: the 0.8.x releases carry the audits (the first UI audit in 0.8.0, performance in 0.8.2, security in 0.8.4), and between and after them the polish and fixes for what users report, as in 0.8.3, 0.8.5, 0.8.6, 0.8.7 and 0.8.8. 0.8.9 brings Element Call to encrypted rooms. 0.9 then fixes only what users report, and 1.0 comes after some quiet weeks of 0.9.
RPMs are attached to the GitHub releases, for Sailfish OS 5.1 or later on
aarch64 (the core links against glibc 2.34; 5.0 and 4.6 ship older ones).
Rustrx bundles its core library, so it is not a Jolla Store app, and not a
Chum one yet: Chum builds from source and Jolla's Rust is 1.75,
matrix-rust-sdk 0.20 needs 1.96. core/Cargo.lock is in the tree and the core
is built with --locked (rustc 1.99.1, zig 0.17.1, cargo-zigbuild).
On the first start Sailfish asks once for the permissions Rustrx uses (internet, pictures, videos, music, documents, downloads, removable media, media indexing, camera, audio, microphone, secrets, web view, UnifiedPush, location). Secrets is where the store key is kept, the web view is for Element Call, UnifiedPush lets a distributor wake it, and the location is only for sending your location. Since 0.8.5 Rustrx no longer asks to start services: its background stand-in starts through systemd path units of its own. Updating from an earlier version asks once to confirm the changed permissions. An update installed while Rustrx runs restarts the background stand-in, and an open Rustrx asks to be closed and opened again.
Harpoon can install Rustrx from this repository and keep it updated.
Thanks for bug reports and ideas to Cahoots, davodego, doctorflynt, dodoradio, finceptum, Fuzzillogic, JimKnopfIoT, Lowxorx, Luna-Terra-CG, MrHappy, Paludan, poetaster, projectmoon and Tealk; dodoradio also for testing nearly every build and designing much of Rustrx with the author, Tealk, who asked for the voice recorder with Pause, Discard and Send, doctorflynt, who asked for the long press on links, saving by kind and saving received media, JimKnopfIoT, whose Xmatic made the classic WebRTC calls first and so brought them to Rustrx, and Lowxorx, whose questions led to the security review guide and whose pull request #5, the first outside code contribution, brought more slash commands, "Read by" without the sender and the typing indicator above the message field. The same list is on Settings > About.
The program was written by an LLM (Claude). The author directed it, decided the design and tested every build on the phone. Every commit carries an LLMGD disclosure line; the grading scheme is described at moWerk/llmgd-specs.
GPL-3.0-or-later. matrix-rust-sdk is Apache-2.0. The bundled Source Sans 3 Semibold
(qml/fonts/, by Adobe, unmodified) is under the SIL Open Font License 1.1. The emoji list
(qml/emoji-data.js) is generated from Unicode's emoji-test.txt, under the
Unicode licence. The emoji pictures
(qml/twemoji/) are Twemoji 17.0.3, unmodified:
graphics copyright Twitter, Inc. and other contributors and Jason Sofonia & Justine De
Caires and other contributors, licensed under
CC-BY 4.0 (qml/twemoji/LICENSE-GRAPHICS).



