Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
'filtered' is a list of zero or 1
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkr committed Jan 20, 2016
1 parent 259d1ec commit 746f6e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/push/bulk_push_rule_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def action_for_event_by_user(self, event, handler):
if len(filtered) == 0:
continue

if filtered.sender == uid:
if filtered[0].sender == uid:
continue

for rule in rules:
Expand Down

0 comments on commit 746f6e0

Please sign in to comment.