mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
'filtered' is a list of zero or 1
This commit is contained in:
parent
259d1ecd1d
commit
746f6e0eb3
@ -107,7 +107,7 @@ class BulkPushRuleEvaluator:
|
||||
if len(filtered) == 0:
|
||||
continue
|
||||
|
||||
if filtered.sender == uid:
|
||||
if filtered[0].sender == uid:
|
||||
continue
|
||||
|
||||
for rule in rules:
|
||||
|
Loading…
Reference in New Issue
Block a user