mirror of
https://github.com/matrix-construct/construct
synced 2024-12-29 08:54:02 +01:00
modules/console: Fix regression.
This commit is contained in:
parent
09ea0be2f0
commit
519b19547d
1 changed files with 1 additions and 6 deletions
|
@ -11175,14 +11175,9 @@ console_cmd__feds__head(opt &out, const string_view &line)
|
|||
result.object.at("event")
|
||||
};
|
||||
|
||||
const json::array prev_events
|
||||
{
|
||||
event["prev_events"]
|
||||
};
|
||||
|
||||
out << "+ " << std::setw(40) << std::left << result.origin;
|
||||
out << " " << event["depth"];
|
||||
const m::event::prev prev(prev_events);
|
||||
const m::event::prev prev(event);
|
||||
for(size_t i(0); i < prev.prev_events_count(); ++i)
|
||||
{
|
||||
const auto &prev_event_id
|
||||
|
|
Loading…
Reference in a new issue