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:
parent
9a49104d28
commit
a398a1f5c0
1 changed files with 1 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue