0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-01 19:22:53 +01:00

ircd:Ⓜ️ Slightly improve state tuple pretty().

This commit is contained in:
Jason Volk 2018-05-18 00:32:42 -07:00
parent 997da91477
commit aada1c9f17

View file

@ -1633,10 +1633,10 @@ ircd::m::pretty(const room::state::tuple &state)
return; return;
s << std::setw(28) << std::right << key s << std::setw(28) << std::right << key
<< " : " << at<"event_id"_>(event) << " :" << json::get<"depth"_>(event)
<< " " << at<"event_id"_>(event)
<< " " << json::get<"sender"_>(event) << " " << json::get<"sender"_>(event)
<< " " << json::get<"depth"_>(event) << " " << json::get<"content"_>(event)
<< " " << pretty_oneline(event::prev{event})
<< std::endl; << std::endl;
}}; }};