Skip to content

Allow pinning rooms to the top of the room list #6466

@kalix127

Description

@kalix127

Your use case

What would you like to do?

Pin specific rooms so they always appear at the top of the room list, with the most recently pinned room first.

Why would you like to do it?

The Favourites filter hides everything that isn't a favourite when active. Pinning is a different thing: pinned rooms just stay at the top no matter what you're looking at. Filter by "People"? Your pinned DMs are at the top. Filter by "Rooms"? Your pinned groups are at the top. No filter? Still at the top. Favourites is about marking rooms you like, pinning is about keeping rooms you need right now always visible.

How would you like to achieve it?

Long-press a room and there's a "Pin to top" toggle in the context menu, right next to the Favourite toggle. You can also pin/unpin from the Room Details screen. Pinned rooms show a small pin icon next to the timestamp so you can tell at a glance. The most recently pinned room goes to the very top of the pinned ones. Storage is local per session using DataStore since the Matrix SDK doesn't support custom room tags.

Have you considered any alternatives?

Using the existing Favourites feature, but it's a filter (hides non-favourite rooms) not a sort modifier. The two serve different purposes and should coexist.

Additional context

No response

Are you willing to provide a PR?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-EnhancementNew features, changes in functionality, performance boosts, user-facing improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions