0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-28 16:34:13 +01:00

modules/console: Support directly entering a room alias at the console.

This commit is contained in:
Jason Volk 2018-09-13 08:18:31 -07:00
parent 1562e5533a
commit 52b39f7d2b

View file

@ -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;
}