A role with no slot in the pinned block leaves the folder unpinned

Fixkamo-internal
Shipped
September 5, 2026 at 6:37 AM UTC
Author
Kamo
Commit
605946d

indexOf answers -1, and -1 is not null, so a role that ever lost its place in PINNED_ROOT_ORDER would have pinned its folder ahead of the inbox rather than falling in among the member's own. Every mapped role has a slot today; this is the branch behaving like the one beside it if that stops being true.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing