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:
parent
d93771b39f
commit
4521054078
2 changed files with 3 additions and 6 deletions
|
@ -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;
|
||||
});
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue