diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2021-06-21 11:57:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-21 11:57:09 +0100 |
commit | 182147195b707ce10af165ccd72a5bb2f3ecab38 (patch) | |
tree | f9ce8b5dda4e8fbe92d2dafcb77fa882454d2d61 | |
parent | Ensure that errors during startup are written to the logs and the console. (#... (diff) | |
download | synapse-182147195b707ce10af165ccd72a5bb2f3ecab38.tar.xz |
Check third party rules before persisting knocks over federation (#10212)
An accidental mis-ordering of operations during #6739 technically allowed an incoming knock event over federation in before checking it against any configured Third Party Access Rules modules. This PR corrects that by performing the TPAR check *before* persisting the event.
-rw-r--r-- | changelog.d/10212.feature | 1 | ||||
-rw-r--r-- | synapse/handlers/federation.py | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/changelog.d/10212.feature b/changelog.d/10212.feature new file mode 100644 |