Skip to content

[stable5.7] fix: correct favorite/unfavorite bulk action logic#12908

Merged
kesselb merged 1 commit into
stable5.7from
backport/12899/stable5.7
May 11, 2026
Merged

[stable5.7] fix: correct favorite/unfavorite bulk action logic#12908
kesselb merged 1 commit into
stable5.7from
backport/12899/stable5.7

Conversation

@backportbot
Copy link
Copy Markdown

@backportbot backportbot Bot commented May 8, 2026

Backport of PR #12899

The unfavorite button called favoriteAll() and vice versa, with favFlags
computed via negated 'isAtLeastOneSelected*' checks. When all selected
messages shared the same state, the flag was inverted, causing a no-op or
the wrong action. Replace with explicit favFlag: true/false and correctly
named methods.

Fixes #12149

Signed-off-by: RobinAngele <robin@robin4consulting.com>
@kesselb kesselb merged commit 5324647 into stable5.7 May 11, 2026
49 of 57 checks passed
@kesselb kesselb deleted the backport/12899/stable5.7 branch May 11, 2026 15:28
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