0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2025-04-29 13:04:17 +02:00

modules/console: Fix room state rebuild's room_id parameter translation.

This commit is contained in:
Jason Volk 2020-04-27 13:29:17 -07:00
parent 12d4b6b53e
commit 0f18b8dc8d

View file

@ -9977,7 +9977,7 @@ console_cmd__room__state__rebuild(opt &out, const string_view &line)
"room_id"
}};
const auto &room_id
const m::room::id::buf room_id
{
param.at("room_id") != "*" && param.at("room_id") != "remote_joined_only"?
m::room_id(param.at(0)):