element-hq / element-hq/synapse
we call the spam-checker multiple times for the same event
Open
A-Federation
A-Modules
T-Defect
z-p2
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#4071](https://github.com/matrix-org/synapse/issues/4071).
---
When we receive events over federation, we invoke the spam-checker *before* we check if we have already seen an event, which leads to duplication and confuses the spam-checker
Contributor guide
Assessment
This issue has not been assessed yet.