Skip to content

Commit

Permalink
Fix replication
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjohnston committed Jun 19, 2024
1 parent d05aa30 commit 57c5347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/replication/tcp/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ async def on_rdata(
)
await self._pusher_pool.on_new_receipts({row.user_id for row in rows})
elif stream_name == ToDeviceStream.NAME:
entities = [row.user_id for row in rows if not row.hosts_calculated]
entities = [row.entity for row in rows if row.entity.startswith("@")]
if entities:
self.notifier.on_new_event(
StreamKeyType.TO_DEVICE, token, users=entities
Expand Down

0 comments on commit 57c5347

Please sign in to comment.