diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-07-30 16:58:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-30 16:58:57 +0100 |
commit | 0a7fb2471685cf4bccfd76f51ddd614a3aeb4536 (patch) | |
tree | c48e44fc5a40fe27e8687d04665aa6fc623f9313 | |
parent | Fix typo in docs/workers.md (#7992) (diff) | |
download | synapse-0a7fb2471685cf4bccfd76f51ddd614a3aeb4536.tar.xz |
Fix invite rejection when we have no forward-extremeties (#7980)
Thanks to some slightly overzealous cleanup in the `delete_old_current_state_events`, it's possible to end up with no `event_forward_extremities` in a room where we have outstanding local invites. The user would then get a "no create event in auth events" when trying to reject the invite. We can hack around it by using the dangling invite as the prev event.
-rw-r--r-- | changelog.d/7980.bugfix | 1 | ||||
-rw-r--r-- | synapse/handlers/room_member.py | 29 |
2 files changed, 22 insertions, 8 deletions
diff --git a/changelog.d/7980.bugfix b/changelog.d/7980.bugfix new file mode 100644 |