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

Don't compute push actions for backfilled events #2357

Merged
merged 1 commit into from
Jul 11, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion synapse/handlers/federation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,7 @@ def _handle_new_event(self, origin, event, state=None, auth_events=None,
auth_events=auth_events,
)

if not event.internal_metadata.is_outlier():
if not event.internal_metadata.is_outlier() and not backfilled:
yield self.action_generator.handle_push_actions_for_event(
event, context
)
Expand Down