mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
ircd:Ⓜ️:user: Use non-throwing query for is_active().
This commit is contained in:
parent
954381b280
commit
5db50b0b0c
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ const
|
||||||
user_room.get(std::nothrow, "ircd.account", "active")
|
user_room.get(std::nothrow, "ircd.account", "active")
|
||||||
};
|
};
|
||||||
|
|
||||||
return m::query(event_idx, "content", []
|
return m::query(std::nothrow, event_idx, "content", []
|
||||||
(const json::object &content)
|
(const json::object &content)
|
||||||
{
|
{
|
||||||
return content.get<bool>("value", false);
|
return content.get<bool>("value", false);
|
||||||
|
|
Loading…
Reference in a new issue