git clone https://garage44.eu/jeroen/cartopolis.gitcartopolis-agent · 2026-11-28T18:37:30Z
docs(notes): a closed app is rung for a call from elsewhere
docs/notes/chat-across-servers.md | 13 ++++++++++--- docs/notes/message-wake-ups.md | 4 +++- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/docs/notes/chat-across-servers.md b/docs/notes/chat-across-servers.md index fc480745..79160933 100644 --- a/docs/notes/chat-across-servers.md +++ b/docs/notes/chat-across-servers.md @@ -1,7 +1,7 @@ --- topic: chat-across-servers triggers: [crates/simulator/src/remote, remote/calls.rs, "call/join", "call/signal", "accounts.home", V45__people_elsewhere.sql, "/ap/chat", peer_test_bases, chat_elsewhere.rs, "other servers", "full address", local_name, ADDRESS_MARK] -updated: 2026-11-19 +updated: 2026-11-28 --- # Contacts and private chats between servers @@ -92,9 +92,16 @@ and a reachable `calls_public_addr`; the member's home needs neither.** - The hub posts its signals one at a time, in order, from one task (`spawn_relay`): a slow home delays others' signalling, never media. +**A closed app of a member elsewhere is woken by its home** (2026-11-28): the +hub's first roster of a call — one member, sent for their joining +(`calls::starts_a_call`) — makes the home push to the people it names, as the +hub does for its own (`ChatHub::wake_for_call`, `message-wake-ups.md`). The +hub knows no member's push address and needs none; a hub older than this +rings the same way, since the roster is what it always sent. The caller's +own account at the home and whoever blocked them are not woken. + Not across servers yet: **declining** (the caller elsewhere rings until the -minute is up), **a closed app** of a member elsewhere is not woken (no push -from the hub, none from the home), a device that **comes online mid-call** at +minute is up), a device that **comes online mid-call** at a home is not told of the running call (`Catchup` knows only devices here), and **hands, host actions, reactions sent, cameras watched, guests** from a device elsewhere (`CallControl`, `CallReact`, `CallWatch`, `CallInvite`, diff --git a/docs/notes/message-wake-ups.md b/docs/notes/message-wake-ups.md index c8cd0cb4..aea250cd 100644 --- a/docs/notes/message-wake-ups.md +++ b/docs/notes/message-wake-ups.md @@ -56,7 +56,9 @@ plans. second push would only post it again. - `TTL` a day and `Urgency: normal`, against a call's minute and `high`: a message can wait for a phone that is off, and need not break Doze. -- Messages from somebody elsewhere wake too (`remote::deliver_here`). +- Messages from somebody elsewhere wake too (`remote::deliver_here`), and so + does a call in a chat whose hub is elsewhere (`ChatHub::wake_for_call`, + `chat-across-servers.md`). - The push task and the server's web push key now run whether or not calls are on; `/api/push/key` answers on every server.