aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dmNotifications.ts
Commit message (Collapse)AuthorAgeFilesLines
* include raw event in push payload for data transportAdam Soltys2026-03-071-4/+12
| | | | | | | | Forward kind 445 Nostr events through push notifications so the client can process messages instantly without relying on WebSockets. Includes a 3KB size guard for the ~4KB push payload limit. Co-Authored-By: Claude Opus 4.6 <[email protected]>
* add group registry for MLS push notificationsAdam Soltys2026-03-061-18/+125
| | | | | | | | Server now tracks MLS groups (synced from clients) and subscribes to kind 445 events on group relays, sending push to all members except the sender. Registry persisted to Redis across restarts. Co-Authored-By: Claude Opus 4.6 <[email protected]>
* subscribe to all relays for DM push notificationsAdam Soltys2026-03-061-37/+43
| | | | | | | | The listener was only watching the local strfry relay, but MLS messages go to external relays like relay.coinos.io. Subscribe to all configured relays so gift wraps are seen. Co-Authored-By: Claude Opus 4.6 <[email protected]>
* add debug logging to DM notificationsAdam Soltys2026-03-061-1/+3
| | | | Co-Authored-By: Claude Opus 4.6 <[email protected]>
* add server-side MLS user index and fix DM push VAPIDAdam Soltys2026-03-061-0/+4
| | | | | | | | | - Add lib/mls.ts: maintains Redis-backed index of MLS users with background backfill and live subscription for kind 443 events - Add /mls/users endpoint serving the directory to the UI - Fix dmNotifications.ts: add setVapidDetails call so push delivery works Co-Authored-By: Claude Opus 4.6 <[email protected]>
* message notificationsAdam Soltys2026-03-011-0/+52