mirror of
https://github.com/element-hq/synapse
synced 2024-09-28 16:32:40 +00:00
Fix replication
This commit is contained in:
parent
d05aa3026b
commit
57c5347559
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ class ReplicationDataHandler:
|
|||
)
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue