diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-12-16 13:14:37 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-12-16 14:07:29 +0000 |
commit | bbb75ff6eeda25e2f0eebd0a6639efd48b4dbb3c (patch) | |
tree | 07de9ae40062d986eeca093a8a0df280f69a2f77 | |
parent | Persist auth/state events at backwards extremities when we fetch them (#6526) (diff) | |
download | synapse-bbb75ff6eeda25e2f0eebd0a6639efd48b4dbb3c.tar.xz |
Exclude rejected state events when calculating state at backwards extrems (#6527)
This fixes a weird bug where, if you were determined enough, you could end up with a rejected event forming part of the state at a backwards-extremity. Authing that backwards extrem would then lead to us trying to pull the rejected event from the db (with allow_rejected=False), which would fail with a 404.
-rw-r--r-- | changelog.d/6527.bugfix | 1 | ||||
-rw-r--r-- | synapse/handlers/federation.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/6527.bugfix b/changelog.d/6527.bugfix new file mode 100644 |