0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-29 12:18:54 +02:00

modules/console: Fix feds event argument interp.

This commit is contained in:
Jason Volk 2019-04-26 01:48:46 -07:00
parent e5563586cf
commit 47247e9f2f

View file

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