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 Twitch-specific filters not being applied #4107

Merged
merged 1 commit into from
Nov 4, 2022

Conversation

pajlada
Copy link
Member

@pajlada pajlada commented Nov 3, 2022

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

Description

Twitch-specific filters, like channel.live were never applied because the channel context sent was a Channel created to contain the filtered messages, not the actual underlying channel

@github-actions
Copy link
Contributor

github-actions bot commented Nov 3, 2022

clang-tidy review says "All clean, LGTM! 👍"

Copy link
Collaborator

@Felanbird Felanbird left a comment

Choose a reason for hiding this comment

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

Works 👍

Tested with: channel.live && ((author.subbed && author.sub_length >= 6) || flags.system_message || flags.first_message || flags.automod || flags.sub_message) for online chat

!channel.live && ((author.subbed && author.sub_length >= 6) || flags.system_message || flags.first_message || flags.automod || flags.sub_message) for offline chat

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