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: prevent system messages from being ignored in multi-channel search #3875

Merged

Conversation

jupjohn
Copy link
Contributor

@jupjohn jupjohn commented Jul 24, 2022

Pull request checklist:

  • CHANGELOG.md was updated, if applicable

Description

This PR aims to fix #3870 where search predicates that act on system messages (ie. bans, timeouts) would not show system messages. This was caused by an oversight in the multi-channel search filtering logic that attempted to filter out duplicate messages (meant to catch the same channel in multiple splits) but ended up treating the ID-less system messages as duplicates.

NOTE: it looks like the channel name isn't prepended to system messages, I'll create a separate fix for this

Behaviour prior to fix (banned in 2 channels):
image

Post-fix:
image

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.

fixed

@pajlada pajlada merged commit 218718e into Chatterino:master Jul 24, 2022
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.

Multi-channel search doesn't support searching with predicate.
3 participants