mirror of
https://github.com/element-hq/synapse
synced 2024-10-01 01:42:41 +00:00
Fixup
This commit is contained in:
parent
ce7b1d3a21
commit
939d5e4ce1
2 changed files with 2 additions and 2 deletions
|
@ -439,7 +439,7 @@ class FederationSenderHandler:
|
|||
# The entities are either user IDs (starting with '@') whose devices
|
||||
# have changed, or remote servers that we need to tell about
|
||||
# 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)
|
||||
await self.federation_sender.send_device_messages(
|
||||
hosts, immediate=False
|
||||
|
|
|
@ -165,7 +165,7 @@ class DeviceWorkerStore(RoomMemberWorkerStore, EndToEndKeyWorkerStore):
|
|||
)
|
||||
|
||||
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_list_id,
|
||||
|
|
Loading…
Reference in a new issue