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

Commit

Permalink
Don't generate push actions for our own events
Browse files Browse the repository at this point in the history
  • Loading branch information
dbkr committed Jan 20, 2016
1 parent af30140 commit 259d1ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions synapse/push/bulk_push_rule_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ def action_for_event_by_user(self, event, handler):
if len(filtered) == 0:
continue

if filtered.sender == uid:
continue

for rule in rules:
if 'enabled' in rule and not rule['enabled']:
continue
Expand Down

0 comments on commit 259d1ec

Please sign in to comment.