0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd:Ⓜ️ Add back non-essential fields after essential stripping here.

This commit is contained in:
Jason Volk 2018-05-27 04:19:01 -07:00
parent 26a5b8404b
commit 377276432b

View file

@ -787,6 +787,7 @@ ircd::m::signatures(const mutable_buffer &out_,
if(!my_host(unquote(other.first)))
sigs.at(i++) = { other.first, other.second };
event = event_;
mutable_buffer out{out_};
json::get<"signatures"_>(event) = json::stringify(out, sigs.data(), sigs.data() + i);
return event;