mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
modules/console: pretty_oneline() event info references.
This commit is contained in:
parent
657c8e6902
commit
3528bb41bc
1 changed files with 2 additions and 3 deletions
|
@ -5536,9 +5536,8 @@ console_cmd__event(opt &out, const string_view &line)
|
|||
out << "+ REFERENCES " << refs.count() << std::endl;
|
||||
refs.for_each([&out](const m::event::idx &idx)
|
||||
{
|
||||
out << "> " << idx << " " << m::event_id(idx)
|
||||
<< std::endl;
|
||||
|
||||
const m::event::fetch event{idx};
|
||||
out << "> " << idx << " " << pretty_oneline(event) << std::endl;
|
||||
return true;
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue