mirror of
https://github.com/element-hq/synapse
synced 2024-07-04 13:23:30 +00:00
Fixup
This commit is contained in:
parent
ce7b1d3a21
commit
939d5e4ce1
|
@ -439,7 +439,7 @@ class FederationSenderHandler:
|
||||||
# The entities are either user IDs (starting with '@') whose devices
|
# The entities are either user IDs (starting with '@') whose devices
|
||||||
# have changed, or remote servers that we need to tell about
|
# have changed, or remote servers that we need to tell about
|
||||||
# changes.
|
# changes.
|
||||||
if any(row.hosts_calcualted for row in rows):
|
if any(row.hosts_calculated for row in rows):
|
||||||
hosts = await self.store.get_destinations_for_device(token)
|
hosts = await self.store.get_destinations_for_device(token)
|
||||||
await self.federation_sender.send_device_messages(
|
await self.federation_sender.send_device_messages(
|
||||||
hosts, immediate=False
|
hosts, immediate=False
|
||||||
|
|
|
@ -165,7 +165,7 @@ class DeviceWorkerStore(RoomMemberWorkerStore, EndToEndKeyWorkerStore):
|
||||||
)
|
)
|
||||||
|
|
||||||
self._device_list_federation_stream_cache = None
|
self._device_list_federation_stream_cache = None
|
||||||
if hs.get_federation_sender() is not None:
|
if hs.should_send_federation():
|
||||||
(
|
(
|
||||||
device_list_federation_prefill,
|
device_list_federation_prefill,
|
||||||
device_list_federation_list_id,
|
device_list_federation_list_id,
|
||||||
|
|
Loading…
Reference in a new issue