Skip to content

Support (un)pinning events via the message context menu#610

Merged
kevinaboos merged 3 commits into
project-robius:mainfrom
kevinaboos:pin_messages
Oct 19, 2025
Merged

Support (un)pinning events via the message context menu#610
kevinaboos merged 3 commits into
project-robius:mainfrom
kevinaboos:pin_messages

Conversation

@kevinaboos
Copy link
Copy Markdown
Member

@kevinaboos kevinaboos commented Oct 19, 2025

Properly determine whether a given message can be pinned or unpinned by the current user (for purposes of the message context menu).

Fully handle pin/unpin event commands in the message context menu.

Upgrade to rust edition 2024 so we can use let-chains (FINALLY!)

Note: this PR still doesn't show pinned messages; that requires additional significant UI work. However, it does include all of the infrastructure to actually subscribe to the stream of changes in the pinned events list for a given room, and we now subscribe upon opening a room and unsubscribe upon closing it.

Properly determine whether a given message can be pinned or unpinned
by the current user (for purposes of the message context menu).

Upgrade to rust edition 2024 so we can use let-chains (FINALLY!)
Note: this PR still doesn't show pinned messages,
that requires additional significant UI work.
@kevinaboos kevinaboos changed the title Fetch and handle pinned events upon opening a room Support (un)pinning events via the message context menu Oct 19, 2025
@kevinaboos kevinaboos merged commit caa5606 into project-robius:main Oct 19, 2025
11 checks passed
@kevinaboos kevinaboos deleted the pin_messages branch October 19, 2025 23:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant