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:
parent
26a5b8404b
commit
377276432b
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue