mirror of
https://github.com/matrix-construct/construct
synced 2024-07-06 02:28:38 +02:00
modules/console: Add room alias type to room id cmd.
This commit is contained in:
parent
9830a4347b
commit
e4194e3589
|
@ -1575,6 +1575,10 @@ console_cmd__room__id(const string_view &id)
|
|||
out << m::node{id}.room_id() << std::endl;
|
||||
break;
|
||||
|
||||
case m::id::ROOM_ALIAS:
|
||||
out << m::room_id(m::room::alias(id)) << std::endl;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue