mirror of
https://github.com/matrix-construct/construct
synced 2024-12-26 07:23:53 +01:00
ircd:Ⓜ️:vm: Fix regression removing content from event_id preimage.
This commit is contained in:
parent
368c803575
commit
7b2758a90d
1 changed files with 5 additions and 0 deletions
|
@ -62,6 +62,11 @@ ircd::m::vm::commit(json::iov &event,
|
|||
sha256::buf event_id_hash;
|
||||
if(opts.event_id)
|
||||
{
|
||||
const json::iov::push _content
|
||||
{
|
||||
event, { "content", content },
|
||||
};
|
||||
|
||||
thread_local char preimage_buf[64_KiB];
|
||||
event_id_hash = sha256
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue