Skip to content

Automatically Request Channel Modes#1243

Merged
andymandias merged 2 commits into
mainfrom
request-channel-modes
Oct 18, 2025
Merged

Automatically Request Channel Modes#1243
andymandias merged 2 commits into
mainfrom
request-channel-modes

Conversation

@andymandias

Copy link
Copy Markdown
Collaborator

Automatically sends a mode request when joining a channel (if the channel mode is not sent by server/bouncer shortly after joining). The request response is used to populate channel metadata (to be able to show channel modes in the title bar and potentially elsewhere), and is otherwise hidden from the user.

Re-orders the tick logic a little bit to allow tick generated messages to enter the anti-flood message queue before it is processed.

…hannel mode is not sent by server/bouncer shortly after joining).
Base automatically changed from anti-flood to main October 17, 2025 20:18
Comment thread data/src/client.rs
self.mode_requests.iter().position(|mode_request| {
mode_request.channel == target_channel
}) {
self.mode_requests.swap_remove(position);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

:chefkiss:

@casperstorm casperstorm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Works perfectly. Code is great as well.
This deserves a CHANGELOG entry.

@andymandias andymandias merged commit 5ad6fdb into main Oct 18, 2025
2 checks passed
@andymandias andymandias deleted the request-channel-modes branch October 18, 2025 00:47
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