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

Check for ignored phrases/users in channel point redemptions #3102

Merged
merged 6 commits into from
Aug 1, 2021

Conversation

pajlada
Copy link
Member

@pajlada pajlada commented Aug 1, 2021

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

Description

Dev note:
Because a channel point message is contextless (i.e. has no channel attached), we have to attach the relevant parameters to the function call itself. The alternative to this would be to make the function non-static, but we'd have to rework TwitchMessageBuilder and SharedMessageBuilder to work with a null ircmessage which is not something I want to do.

Fixes #3098

@pajlada pajlada marked this pull request as ready for review August 1, 2021 12:00
@pajlada pajlada requested a review from zneix August 1, 2021 12:00
chatterino.pro Show resolved Hide resolved
src/providers/twitch/TwitchMessageBuilder.cpp Show resolved Hide resolved
src/messages/SharedMessageBuilder.cpp Show resolved Hide resolved
src/providers/twitch/TwitchMessageBuilder.cpp Show resolved Hide resolved
@pajlada pajlada enabled auto-merge (squash) August 1, 2021 13:25
@pajlada pajlada merged commit 784fdd2 into master Aug 1, 2021
@pajlada pajlada deleted the fix/ignore-channel-point-redemptions branch August 1, 2021 13:44
zneix added a commit to SevenTV/chatterino7 that referenced this pull request Aug 3, 2021
Now we're on commit 95044ef; Changes from upstream we pulled:

- Minor: Now uses spaces instead of magic Unicode character for sending duplicate messages (Chatterino#3081)
- Minor: Added `channel.live` filter variable (Chatterino#3092, Chatterino#3110)
- Bugfix: Channel point redemptions from ignored users are now properly blocked. (Chatterino#3102)
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.

Blocked users' redemptions are visible in chat
2 participants