0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-12 13:01:07 +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))) if(!my_host(unquote(other.first)))
sigs.at(i++) = { other.first, other.second }; sigs.at(i++) = { other.first, other.second };
event = event_;
mutable_buffer out{out_}; mutable_buffer out{out_};
json::get<"signatures"_>(event) = json::stringify(out, sigs.data(), sigs.data() + i); json::get<"signatures"_>(event) = json::stringify(out, sigs.data(), sigs.data() + i);
return event; return event;