0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

ircd:Ⓜ️:user: Use non-throwing query for is_active().

This commit is contained in:
Jason Volk 2020-03-31 12:40:16 -07:00
parent 954381b280
commit 5db50b0b0c

View file

@ -205,7 +205,7 @@ const
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)
{
return content.get<bool>("value", false);