* Accepting call things & placement in dms
* evil things to make liner happy
* be happy
* make ringtone stfu
* add room call button and make popup not popup when calling yourself
* support msc4075 maybe possibly idk
* happy lint make
* play sound on outgoing call
* resizeable dm call window
* add custom ringtone and fix audio looping forever
* notifications that will total work trust
* make ringtone and modal stuff actually work after someone leaves call
* hide button for rooms with no perms
* changeset
* update formatting things to work with new controls
* update control styling for mobile
* fix voice appearing in normal voice room chats
* fix non-interactable element call elements
* redo prescreen controls for mobile and dms
* only join call rooms automatically
- resolveSilent = () => false — OS/Sygnal handles push sound entirely; the
in-app sound setting no longer affects push notification sound
- remove notificationSoundEnabled from SW postMessage payload
- move OS notification block before visibilityState guard so desktop
notifications fire even when the browser window is minimised
- pass isEncryptedRoom:false for in-app banner preview — events are already
decrypted by the SDK so the actual message body is always shown
- call clearMediaSessionQuickly() after play() to dismiss the iOS lock screen
media player; only clears playbackState if no real media metadata is set
- Rewrite notificationclick to deep-link via /to/:user_id/:room_id/:event_id so
the correct account is activated on cold PWA launch (ToRoomEvent -> pendingNotificationAtom)
- Suppress OS/SW push notification when the app window is already visible;
track visibility via postMessage from the app on visibilitychange
- Remove preferPushOnMobile dead code
- Add useSystemNotifications setting (desktop-only, default true on desktop);
split it out from useInAppNotifications so pill and OS notifications are
independently controlled
- Settings UI: desktop shows In-App + System Notifications; mobile shows
In-App + Push Notifications; each hides the irrelevant third toggle
- Fix InviteNotifications / MessageNotifications to gate OS notifications on
useSystemNotifications + !mobileOrTablet(); pill remains gated on useInAppNotifications
- Fix NotificationJumper: bypass useRoomNavigate (which routes through space
path) -- navigate directly via getHomeRoomPath / getDirectRoomPath so tapping
a pill banner on mobile opens the room timeline, not the space-nav panel
- When the app is already open, use postMessage({ type: notificationClick })
from SW to the running window; new ServiceWorkerClickHandler component handles
it with the same setActiveSessionId + setPending path as the pill flow;
/to/ URL kept as cold-launch fallback only
- HandleNotificationClick moved outside ClientRoot loading gate so SW postMessages
are never dropped during account-switch reloads
- iOS Safari event.source=null guard removed; type-check used instead
- ToRoomEvent simplified: writes pendingNotificationAtom + sets active session,
delegates navigation to NotificationJumper
- NotificationJumper: jumpingRef prevents repeated navigation; stable performJumpRef
avoids re-registering listeners on every atom change during account switch
- BackgroundNotifications: uses SW showNotification for reliable tap routing on iOS;
dedupeId is now userId+eventId scoped; visibility guard prevents backgrounded
in-app popups; ref pattern avoids stale closure on settings
- SW: persist/restore notification settings across iOS SW restarts via Cache API;
group notifications by room (tag + renotify); prefer navigate() over postMessage
when available; prefer visible tab on notificationclick
- pushNotification: resolveSilent respects tweaks.sound; recipientId in title;
fallbackNotification removed (redundant)
- RoomTimeline: use ref for handleOpenEvent to stop re-pulling on every new message