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

Allow to merge simple filters #170

Open
2 tasks done
spotlesscoder opened this issue Aug 2, 2019 · 0 comments
Open
2 tasks done

Allow to merge simple filters #170

spotlesscoder opened this issue Aug 2, 2019 · 0 comments
Milestone

Comments

@spotlesscoder
Copy link

Prerequisites

  • Tried the most recent nightly build
  • Checked if your issue is already reported.

Description

Assume we have two filters:

  • When message subject contains "hello" or "world"", delete message
  • When message subject contains "hello" or "github", delete message

I want to merge those two to a single filter:

  • When message subject contains "hello" or "world" or "github", delete message

So that means

  • if filters contain only "or" statements on the same field and do the same action on a match, a new filter with the exact same action and distinct keywords should be created and the old filters should be removed. That should help reducing the amount of filters
@thsmi thsmi added this to the Future milestone Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants