From 52b39f7d2b3cde1c4f83a8625b607b995eff7590 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Thu, 13 Sep 2018 08:18:31 -0700 Subject: [PATCH] modules/console: Support directly entering a room alias at the console. --- modules/console.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/console.cc b/modules/console.cc index 2a977e6f7..27a67a9e7 100644 --- a/modules/console.cc +++ b/modules/console.cc @@ -341,6 +341,12 @@ console_command_derived(opt &out, const string_view &line) case m::id::USER: return console_id__user(out, id, line); + case m::id::ROOM_ALIAS: + { + const auto room_id{m::room_id(id)}; + return console_id__room(out, room_id, line); + } + default: break; }