Skip to content

Require an initial client/state from every activated client - #181

Merged
kahrendt merged 1 commit into
mainfrom
fix/initial-client-state-scope
Aug 28, 2026
Merged

kahrendt merged 1 commit into
mainfrom
fix/initial-client-state-scope

Conversation

@maximmaxim345

Copy link
Copy Markdown
Member

The spec disagreed with itself about which clients send the first client/state. server/activate limited it to clients with roles that report state, while the client/state section also required it from artwork and visualizer clients, which have no state to report. A client that only receives, such as a wall tablet with metadata and controller, matched neither rule.

Now any client with active roles sends it, and pairing and management connections are unaffected since they never carry active roles.

`server/activate` conditioned the initial `client/state` on the client
having roles that require state updates, which contradicted the
`client/state` rule requiring it from `artwork` and `visualizer` clients
too. A client whose only active roles are `metadata`, `controller` or
`color` was left with no answer either way.
@kahrendt
kahrendt merged commit c08c4ad into main Aug 28, 2026
1 check passed
@kahrendt
kahrendt deleted the fix/initial-client-state-scope branch August 28, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants