Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: subscribed threads not being marked as subscribed #5668

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

pajlada
Copy link
Member

@pajlada pajlada commented Oct 21, 2024

Got another branch going which updates unit tests to properly catch this

cc @Nerixyz if you want to take a peek - I imagine this was roughly the intent you had

@Nerixyz
Copy link
Contributor

Nerixyz commented Oct 21, 2024

cc @Nerixyz if you want to take a peek - I imagine this was roughly the intent you had

Not exactly. If the thread isn't highlighted, that's an issue with the IrcMessageHandler, which sets the flag (https://github.com/Chatterino/chatterino2/blob/master/src/providers/twitch/IrcMessageHandler.cpp#L729).

@pajlada
Copy link
Member Author

pajlada commented Oct 21, 2024

cc @Nerixyz if you want to take a peek - I imagine this was roughly the intent you had

Not exactly. If the thread isn't highlighted, that's an issue with the IrcMessageHandler, which sets the flag (master/src/providers/twitch/IrcMessageHandler.cpp#L729).

Setting SubscribedThread here is too late for the highlight controller to act on, will keep current implementation for now

@pajlada pajlada merged commit 45d2c29 into master Oct 21, 2024
18 checks passed
@pajlada pajlada deleted the fix/reply-thread-participation-highlight branch October 21, 2024 11:19
@Nerixyz
Copy link
Contributor

Nerixyz commented Oct 21, 2024

Setting SubscribedThread here is too late for the highlight controller to act on, will keep current implementation for now

Then we can drop the highlight in the reply context.

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