diff options
author | Erik Johnston <erik@matrix.org> | 2019-01-29 16:26:40 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-01-29 16:57:00 +0000 |
commit | 8e3d34e3c58374ab32f3aaace916ddcb4b1a150c (patch) | |
tree | e0c635a667424392b45a0672ea6b28e7a9474a36 /synapse/federation | |
parent | Use snder and not event ID domain to check if ours (diff) | |
download | synapse-8e3d34e3c58374ab32f3aaace916ddcb4b1a150c.tar.xz |
Use event origin for filtering incoming events
We only process events sent to us from a server if the event ID matches the server, to help guard against federation storms. We replace this with a check against the event origin.
Diffstat (limited to 'synapse/federation')
-rw-r--r-- | synapse/federation/federation_server.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py |