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:
parent
00094e272f
commit
fb9b68b4e3
2 changed files with 2 additions and 1 deletions
|
@ -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":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue