Back out MSC2625 implementation (#7761)

This commit is contained in:
Brendan Abolivier 2020-07-01 11:08:25 +01:00 committed by GitHub
parent 71cccf1593
commit 74d3e177f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 53 additions and 189 deletions

View file

@ -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