diff --git a/modules/console.cc b/modules/console.cc index 44ee31738..ef052d724 100644 --- a/modules/console.cc +++ b/modules/console.cc @@ -7131,42 +7131,6 @@ console_cmd__event__rewrite(opt &out, const string_view &line) return true; } -bool -console_cmd__event__fetch(opt &out, const string_view &line) -{ - const params param{line, " ", - { - "room_id", "event_id" - }}; - - const m::event::id &event_id - { - param.at("event_id") - }; - - const auto &room_id - { - m::room_id(param.at("room_id")) - }; - - const net::hostport hostport - { - room_id.host() - }; - - using prototype = json::object (const m::room::id &, - const m::event::id &, - const net::hostport &); - - static mods::import acquire - { - "vm_fetch", "state_fetch" - }; - - acquire(room_id, event_id, hostport); - return true; -} - bool console_cmd__event__visible(opt &out, const string_view &line) {