Skip to content
Snippets Groups Projects
Unverified Commit 0a7fb247 authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

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.
parent 606805bf
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment