Skip to content

A join request should reach a trusted device even when it does not have that PC open #4263

Done

Description

@devswha

A device that asks to join the account (the Join sheet's Ask to join) is heard only by a device of the account that has that PC open in Ovis at that moment: the PC sends its remote-pairings list to drive account members connected to it (server/dispatch.ts), and src/App.tsx draws the approval card from that event. A trusted phone with Ovis closed, or on another PC, gets nothing, and the request times out after 90 seconds.

Expected: the request reaches the account's trusted devices even when none has that PC open, as a notification that opens the approval card (the number pick stays).

Today the join sheet says so plainly ("Open {name} in Ovis on a device you already use…", #4259).

Activity

  1. devswha commented on Nov 28, 2026

    @devswha
    OwnerAuthor

    Triage on origin/main df6bd8a: still as described. A waiting join reaches only an open event stream of that PC (server/machine-pairing-events.ts) or the PC's own window; the only pairing push is "New device paired" after admission (server/push.ts devicePaired), public/sw.js and the push relay have no join handling, and the 90 s deadline is unchanged (PAIR_APPROVAL_MS). Closing this needs a new push kind for a waiting join (a payload without digits or keys, whose tap opens that PC's approval card), so it is a design/contract change left for the maintainer, not a small fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions