Skip to content

[stable5.9] fix(ui): restore isSubscribed getter on mailbox update#13015

Open
backportbot[bot] wants to merge 1 commit into
stable5.9from
backport/13011/stable5.9
Open

[stable5.9] fix(ui): restore isSubscribed getter on mailbox update#13015
backportbot[bot] wants to merge 1 commit into
stable5.9from
backport/13011/stable5.9

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented Jun 3, 2026

Backport of PR #13011

updateMailboxMutation replaced the mailbox object with the server
response, losing the Object.defineProperty getter for isSubscribed
(originally added in addMailboxToState). Without the getter,
isSubscribed became undefined after any patch, causing
NcActionCheckbox to re-emit update:checked and trigger an
unintended subscription change.

Assisted-by: Claude:claude-sonnet-4-6
Signed-off-by: Christoph Wurst <1374172+ChristophWurst@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant