mirror of
https://github.com/matrix-construct/construct
synced 2024-09-29 20:28:52 +02:00
modules/federation/invite: Disable emption checks on invite; fix regression.
This commit is contained in:
parent
2a0fe40d80
commit
a6061a447a
2 changed files with 2 additions and 0 deletions
|
@ -163,6 +163,7 @@ put__invite(client &client,
|
|||
|
||||
// Synapse may 403 a fetch of the prev_event of the invite event.
|
||||
vmopts.phase.set(m::vm::phase::FETCH_PREV, false);
|
||||
vmopts.phase.set(m::vm::phase::EMPTION, false);
|
||||
|
||||
// We don't want this eval throwing an exception because the response has
|
||||
// already been made for this request.
|
||||
|
|
|
@ -233,6 +233,7 @@ try
|
|||
|
||||
// Synapse may 403 a fetch of the prev_event of the invite event.
|
||||
vmopts.phase.set(m::vm::phase::FETCH_PREV, false);
|
||||
vmopts.phase.set(m::vm::phase::EMPTION, false);
|
||||
|
||||
// Don't throw an exception for a re-evaluation; this will just be a no-op
|
||||
vmopts.nothrows |= m::vm::fault::EXISTS;
|
||||
|
|
Loading…
Reference in a new issue