Skip to content

Conversation

@elmehalawi
Copy link
Contributor

@elmehalawi elmehalawi commented Nov 11, 2025

When selecting messages and opening or copying, the message that was opened/copied was wrong. There were two separate problems causing this:

  • try_open_url() and try_open_file() were not using selected_message(), which was causing the behavior to not match with copying. One of the commits changes those functions to use selected_message().

  • selected_message_id() was iterating over pairs of messages and was sometimes off by one, so there is also a commit that fixes that. Now we iterate over a mix of messages and date headers instead of pairs of messages.

Let me know if I missed something or something needs updated!

Copy link
Owner

@boxdot boxdot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this!

@boxdot boxdot enabled auto-merge (squash) December 15, 2025 18:52
@boxdot boxdot merged commit ad85a40 into boxdot:main Dec 15, 2025
9 checks passed
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.

2 participants