mirror of
https://github.com/matrix-construct/construct
synced 2025-02-18 09:40:12 +01:00
modules/m_vm: Stop generating empty prev_state in our events; thanks https://github.com/matrix-org/synapse/pull/4837
This commit is contained in:
parent
621908937c
commit
a2177dd096
1 changed files with 0 additions and 11 deletions
|
@ -299,17 +299,6 @@ ircd::m::vm::inject(eval &eval,
|
|||
}
|
||||
};
|
||||
|
||||
const json::iov::add prev_state_
|
||||
{
|
||||
event, opts.add_prev_state,
|
||||
{
|
||||
"prev_state", []
|
||||
{
|
||||
return json::empty_array;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
return inject(eval, event, contents);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue