0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-28 17:52:54 +01:00

ircd:Ⓜ️:push: Reenable .m.rule.message default underride (with dont_notify e7089e8e7f).

This commit is contained in:
Jason Volk 2023-03-14 13:55:27 -07:00
parent 00094e272f
commit fb9b68b4e3
2 changed files with 2 additions and 1 deletions

View file

@ -1145,7 +1145,7 @@ ircd::m::push::rules::defaults{R"(
{ {
"rule_id": ".m.rule.message", "rule_id": ".m.rule.message",
"default": true, "default": true,
"enabled": false, "enabled": true,
"conditions": "conditions":
[ [
{ {

View file

@ -196,6 +196,7 @@ ircd::m::push::execute(const event &event,
const event::idx &rule_idx) const event::idx &rule_idx)
try try
{ {
assert(json::get<"enabled"_>(rule));
const auto &[scope, kind, ruleid] const auto &[scope, kind, ruleid]
{ {
path path