0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-10-01 13:18:58 +02:00

ircd:Ⓜ️:vm: Fix regression removing content from event_id preimage.

This commit is contained in:
Jason Volk 2018-03-14 17:56:50 -07:00
parent 368c803575
commit 7b2758a90d

View file

@ -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
{