mirror of
https://github.com/matrix-construct/construct
synced 2025-03-16 22:41:46 +01:00
modules/console: Use throwing query for room_id(event_id) so grammar error never occurs. (fixes #135)
This commit is contained in:
parent
b7d8f9c211
commit
613464c476
1 changed files with 1 additions and 1 deletions
|
@ -12791,7 +12791,7 @@ console_cmd__feds__event(opt &out, const string_view &line)
|
|||
room_id = m::room_id(param["room_id"]);
|
||||
|
||||
if(!room_id)
|
||||
room_id = m::get(std::nothrow, event_id, "room_id", room_id);
|
||||
room_id = m::room_id(event_id);
|
||||
|
||||
if(!room_id)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue