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

Fixed automod and unban messages showing when moderation actions were disabled #3548

Merged

Conversation

Mm2PL
Copy link
Collaborator

@Mm2PL Mm2PL commented Jan 28, 2022

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

Description

I added appropriate flags to AutoMod messages and made the hideModerationActions setting ignore Untimeout (unban) messages. Fixes #3547.

Note: this does not hide messages notifying users that their message was held, just the moderation variants.

@Mm2PL Mm2PL requested a review from Felanbird January 28, 2022 22:00
@Mm2PL Mm2PL changed the title Hide automod and unban messages properly Fixed automod and unban messages showing when moderation actions were disabled Jan 28, 2022
@zneix zneix enabled auto-merge (squash) January 28, 2022 22:02
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.

I'm fine with merging this in, because it does fix the issue in question, and after watching Poki struggle to drag a usercard on stable, the faster we can get her on nightly the better it looks on us.

But, there are 2 issues generated from this change that will need to be fixed:

  1. The ghost of the hidden automod message still exists until the next message is sent (probably windows only)
    image
  2. Automod messages are now searchable with is:timeout when the setting is enabled (is this an issue? it actually sounds like a useful bug)

@zneix zneix merged commit ddbeb35 into master Jan 28, 2022
@zneix zneix deleted the fix/hide_automod_and_unban_messages_from_pubsub_properly branch January 28, 2022 22:30
zneix added a commit to SevenTV/chatterino7 that referenced this pull request Jan 28, 2022
Now we're on commit ddbeb35; Changes from upstream we've pulled

- Bugfix: Disabled /popout and /streamlink from working in non-twitch channels (e.g. /whispers) when supplied no arguments. (Chatterino#3541)
- Bugfix: Fixed automod and unban messages showing when moderation actions were disabled (Chatterino#3548)
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.

Pubsub-based moderation actions are not hidden when disabling show moderation messages
3 participants