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:
parent
1562e5533a
commit
52b39f7d2b
1 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue