mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-15 06:53:51 +01:00
'filtered' is a list of zero or 1
This commit is contained in:
parent
259d1ecd1d
commit
746f6e0eb3
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class BulkPushRuleEvaluator:
|
||||||
if len(filtered) == 0:
|
if len(filtered) == 0:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if filtered.sender == uid:
|
if filtered[0].sender == uid:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for rule in rules:
|
for rule in rules:
|
||||||
|
|
Loading…
Reference in a new issue