Skip to content

[stable5.8] fix: correct favorite/unfavorite bulk action logic#12909

Merged
ChristophWurst merged 1 commit into
stable5.8from
backport/12899/stable5.8
May 8, 2026
Merged

[stable5.8] fix: correct favorite/unfavorite bulk action logic#12909
ChristophWurst merged 1 commit into
stable5.8from
backport/12899/stable5.8

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>
@ChristophWurst ChristophWurst merged commit 14553ee into stable5.8 May 8, 2026
41 checks passed
@ChristophWurst ChristophWurst deleted the backport/12899/stable5.8 branch May 8, 2026 08:37
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