mirror of
https://github.com/matrix-org/synapse.git
synced 2025-08-31 11:21:40 +02:00
Don't generate push actions for our own events
This commit is contained in:
parent
af30140621
commit
259d1ecd1d
@ -107,6 +107,9 @@ class BulkPushRuleEvaluator:
|
|||||||
if len(filtered) == 0:
|
if len(filtered) == 0:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if filtered.sender == uid:
|
||||||
|
continue
|
||||||
|
|
||||||
for rule in rules:
|
for rule in rules:
|
||||||
if 'enabled' in rule and not rule['enabled']:
|
if 'enabled' in rule and not rule['enabled']:
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user