0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-27 07:54:05 +01:00

modules/client/pushrules: Fix erroneous type conversion for bool property.

This commit is contained in:
Jason Volk 2020-03-26 13:19:17 -07:00
parent 9a49104d28
commit a398a1f5c0

View file

@ -313,7 +313,7 @@ ircd::m::push::handle_put(client &client,
handle_enabled?
json::replace(old_rule,
{
"enabled", bool(json::get<"enabled"_>(rule))
"enabled", json::get<"enabled"_>(rule)
}):
handle_actions?