mirror of
https://github.com/matrix-construct/construct
synced 2024-09-26 18:38:52 +02:00
ircd:Ⓜ️ Move signatures field nulling to essential keys function.
This commit is contained in:
parent
b2b5d6abce
commit
7e512eecdc
1 changed files with 1 additions and 2 deletions
|
@ -910,8 +910,6 @@ ircd::m::verify(const event &event_,
|
|||
essential(event_, content)
|
||||
};
|
||||
|
||||
json::get<"signatures"_>(event) = {};
|
||||
|
||||
thread_local char buf[64_KiB];
|
||||
const json::object &preimage
|
||||
{
|
||||
|
@ -1117,6 +1115,7 @@ ircd::m::essential(m::event event,
|
|||
content = "{}"_sv;
|
||||
}
|
||||
|
||||
json::get<"signatures"_>(event) = {};
|
||||
return event;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue