mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 14:24:56 -04:00
Back out MSC2625 implementation (#7761)
This commit is contained in:
parent
71cccf1593
commit
74d3e177f0
11 changed files with 53 additions and 189 deletions
|
@ -189,11 +189,8 @@ class BulkPushRuleEvaluator(object):
|
|||
)
|
||||
if matches:
|
||||
actions = [x for x in rule["actions"] if x != "dont_notify"]
|
||||
if (
|
||||
"notify" in actions
|
||||
or "org.matrix.msc2625.mark_unread" in actions
|
||||
):
|
||||
# Push rules say we should act on this event.
|
||||
if actions and "notify" in actions:
|
||||
# Push rules say we should notify the user of this event
|
||||
actions_by_user[uid] = actions
|
||||
break
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue