Skip to content

Notifications

Open Your menu → Notifications. The settings belong to your account and apply on all your devices. Whether this particular device may show notifications or receive push is decided per device.

The notification settings

There are separate levels for desktop notifications (while hytte is open in a tab) and push notifications (phone, or a closed tab):

Level Notifies about
All messages Every new message
Mentions & DMs (default) Mentions of you, DMs, group conversations, replies in threads you follow, and your keywords
Nothing Nothing

Desktop notifications need your browser’s permission once: Allow. If the browser blocks them, hytte only plays the sound.

⋯ → Notifications in a conversation’s header overrides the level there: Default (your general level), All messages, Mentions & DMs or Nothing (muted).

Play a sound, choose Chime, Pop, Knock or Bell, set the volume and try it with Preview. Sounds are generated in the browser, so there are no audio files to load.

One word or phrase per line, such as deploy or release notes. Messages that contain one (as a whole word, in any case) are highlighted and notify you like a mention.

Your keywords are encrypted to your own key before they’re saved, so the server can’t read them.

Turn on under Push notifications on each device that should receive them: your phone, or a computer for when hytte isn’t open. Push needs:

  • HTTPS with a trusted certificate (not self-signed), or localhost;
  • on iPhone and iPad, hytte installed to the home screen and opened from there;
  • a device that keeps your keys: not a session where you ticked Public computer.

The server can’t read messages, so it can’t decide which ones are worth a notification. Instead:

  1. For each new message, the server sends a wake-up without any content (just “something happened in conversation X”) to everyone whose level isn’t Nothing there. It goes through the browser vendor’s push service (Google, Apple, Mozilla).
  2. hytte’s service worker on your device fetches the message, decrypts it there and applies your rules.
  3. Messages that match your level show a notification with the text. Browsers require every push to show something, so the others become one quiet, silent summary per conversation (“5 new messages in #general”) that updates in place.

While you have hytte open in an active tab, push waits 60 seconds. If you read the message in that time, nothing is pushed.