0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-28 11:48:54 +02:00

ircd:Ⓜ️:room::events: Remove event_idx value from result twain/hazard tool results.

This commit is contained in:
Jason Volk 2020-11-12 18:48:21 -08:00
parent d93771b39f
commit 4521054078
2 changed files with 3 additions and 6 deletions

View file

@ -59,7 +59,6 @@ ircd::m::twain(const room &room)
(const auto &range, const auto &event_idx)
{
ret.first = range.first - 1;
ret.second = event_idx;
return false;
});
@ -107,7 +106,6 @@ ircd::m::hazard(const room &room)
(const auto &range, const auto &event_idx)
{
ret.first = range.first;
ret.second = event_idx;
return false;
});

View file

@ -9309,6 +9309,9 @@ console_cmd__room__sounding(opt &out, const string_view &line)
<< " " << m::event_id(head) << " (" << head << ")"
<< std::endl;
out << "hazard: " << std::setw(8) << hazard.first
<< std::endl;
out << "sounding: " << std::setw(8) << sounding.first
<< " " << m::event_id(sounding.second) << " (" << sounding.second << ")"
<< std::endl;
@ -9316,10 +9319,6 @@ console_cmd__room__sounding(opt &out, const string_view &line)
out << "twain: " << std::setw(8) << twain.first
<< std::endl;
out << "hazard: " << std::setw(8) << hazard.first
<< " " << m::event_id(hazard.second) << " (" << hazard.second << ")"
<< std::endl;
out << "create: " << std::setw(8) << m::get<uint64_t>(create, "depth")
<< " " << m::event_id(create) << " (" << create << ")"
<< std::endl;