mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 07:20:55 +01:00
modules/console: Fix feds event argument interp.
This commit is contained in:
parent
e5563586cf
commit
47247e9f2f
1 changed files with 1 additions and 1 deletions
|
@ -10447,7 +10447,7 @@ console_cmd__feds__event(opt &out, const string_view &line)
|
|||
|
||||
m::room::id::buf room_id;
|
||||
if(param["room_id"])
|
||||
room_id = param["room_id"];
|
||||
room_id = m::room_id(param["room_id"]);
|
||||
|
||||
if(!room_id)
|
||||
room_id = m::get(std::nothrow, event_id, "room_id", room_id);
|
||||
|
|
Loading…
Reference in a new issue