gnuxie
2889599eb2
Rename AutomaticRedactionQueue to UnlistedUserRedactionQueue.
...
This seems to be a more descriptive name and it also doesn't clash
with the new redaction queue.
2021-09-14 14:45:07 +01:00
Travis Ralston
635f9ba03f
Prioritize bans over redactions, and queue redactions faster
...
This could do with some cleanup, particularly around the part where it uses a callback.
2020-06-12 08:15:48 -06:00
Travis Ralston
f6a856ed4a
Resolve room aliases in messages
...
Fixes https://github.com/matrix-org/mjolnir/issues/47
2020-04-15 08:12:42 -06:00
Travis Ralston
7de3744875
Respect no-op in more places
2019-12-09 19:20:47 -07:00
Travis Ralston
f9e3c33935
Don't spam protection warnings, and ensure the user is redacted
...
We now always prioritize redaction over ban to ensure that the user gets removed from our rooms. This also means that the second image posted by a spammer is redacted after join.
This commit also improves the messaging a bit.
2019-12-09 19:15:51 -07:00
Travis Ralston
245b81262e
Fix linter
2019-12-04 19:28:49 -07:00
Travis Ralston
1b795c7b17
Add basic flooding protection too
2019-12-04 19:07:04 -07:00