0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-15 04:23:54 +01:00

Don't generate push actions for our own events

This commit is contained in:
David Baker 2016-01-20 13:24:59 +00:00
parent af30140621
commit 259d1ecd1d

View file

@ -107,6 +107,9 @@ class BulkPushRuleEvaluator:
if len(filtered) == 0:
continue
if filtered.sender == uid:
continue
for rule in rules:
if 'enabled' in rule and not rule['enabled']:
continue