Skip to content

Subtract replies in mentions rule #2015

@mbaruh

Description

@mbaruh

The purpose of the mentions rule is to catch people spamming user mentions, but message.mentions shows the user being replied to, if the reply is pinging, which is out of scope for what the rule is trying to catch.

The replies should be subtracted when counting the number of mentions, and messages with only a reply but no mentions should not be returned.

Metadata

Metadata

Labels

a: filtersRelated to message filters: (antimalware, antispam, filtering, token_remover)good first issueGood for newcomersp: 1 - highHigh Prioritystatus: approvedThe issue has received a core developer's approvalt: bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions