Skip to content

Push notifications

github-actions[bot] edited this page Nov 10, 2026 · 4 revisions

Push notifications

Without this, Tessera notifies you only while a tab is open. With it, your browser is woken by a push message even when Tessera is closed.

homeserver --(event id)--> push gateway --(Web Push, VAPID)--> browser push service --> Tessera's service worker

The service worker then asks your homeserver for the event itself, so the gateway and the browser vendor's push service see only an event id, never the message text. Encrypted rooms show "Encrypted message" because a worker cannot decrypt.

You need a push gateway that speaks Web Push; Sygnal does (the old matrix-org/sygnal is archived; use element-hq/sygnal). A ready-made deployment for a small VPS is in deploy/push-gateway/. The full setup (VAPID key, sygnal.yaml, config.json, turning it on) is in docs/push.md.

Firebase

On Chrome and Edge the browser push service is Google's FCM (fcm.googleapis.com), and Tessera already uses it through standard Web Push. You do not need a Firebase project or SDK: list fcm.googleapis.com in Sygnal's allowed_endpoints.

What has been verified

A real Sygnal 0.17 with desktop Chrome on Linux: the pusher registered with a real FCM endpoint, Sygnal pushed through FCM and it was accepted, and a notification appeared with the app closed. Also, on 10 Nov 2026, the ready-made deployment (Sygnal behind Caddy on a small VPS) with a real Synapse 1.144.0 and Chrome on Fedora: pushes went through real FCM and the notification showed the message text and the avatar. Not verified: the Reply and Like buttons through real FCM, Firefox, Safari and Edge, tapping a notification, and action buttons on specific operating systems.

Clone this wiki locally