0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-16 08:58:20 +02: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;