0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-16 17:08:20 +02:00

ircd:Ⓜ️ Calculate hash on pretty_online(event) if missing.

This commit is contained in:
Jason Volk 2019-07-11 18:43:37 -07:00
parent 59467cf670
commit e39adf9942

View file

@ -151,7 +151,7 @@ ircd::m::pretty_oneline(std::ostream &s,
if(event.event_id)
s << event.event_id << " ";
else
s << "* ";
s << m::event::id::v4{sdbuf, event} << ' ';
const auto &auth_events{json::get<"auth_events"_>(event)};
s << "A:" << auth_events.count() << " ";