Skip to content

fix: a desktop room switch that has to ask to be let in shows the door instead of hanging on Opening - #264

Merged
TheCryptoDonkey merged 1 commit into
mainfrom
fix/switch-room-knock
Oct 7, 2026
Merged

TheCryptoDonkey merged 1 commit into
mainfrom
fix/switch-room-knock

Conversation

@TheCryptoDonkey

Copy link
Copy Markdown
Member

Switching from the desktop rail to a room this device holds no key for (a temporary admission granted on another device, the room reaching this one through account bookmarks) sends a knock. The desktop switch overlay hides `#identity` and `#status`, so the door saying "Waiting to be admitted" and its Stop button were invisible for the whole two-minute wait: the person saw "Opening …" and nothing else. Seen on the owner's Mac with "v4v demo".

When the switch reaches the knock, the overlay is lifted, the door shown, and Stop offered at once since the wait is on a person. Let in, the switch carries on into the room as before.

Test: new chromium-desktop case in `test/desktop-room-layout.spec.ts`; fails without the fix (door hidden), passes with it. All 19 chromium-desktop tests pass, and knock.spec + workspace.spec on chromium (11).

The same room also shows no unread count in the rail, by design for now: without the key the device cannot read it. Not changed here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DVDoqhHqdZVfn1QTYsEZhp

@TheCryptoDonkey
TheCryptoDonkey merged commit 3e9c69e into main Oct 7, 2026
23 of 24 checks passed
@TheCryptoDonkey
TheCryptoDonkey deleted the fix/switch-room-knock branch October 7, 2026 06:51
TheCryptoDonkey added a commit that referenced this pull request Oct 7, 2026
…fixes

Desktop 0.1.57 on every platform, built from release/desktop-0.1.57 at b4307cd (main 3e9c69e): pending messages in the chat (#258, #259), an optional wait before sending (#261), the room sync resend fix (#257), the rail that scrolls instead of pushing the composer off the window (#263), and a room switch that has to knock showing the door (#264). Mac signed with the release keychain and notarised; Linux and Windows built on the M4. Manifest signed with the update key; packages uploaded to apk/desktop/0.1.57 and hash-checked on the server.
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.

1 participant