This commit is contained in:
Erik Johnston 2024-06-19 16:32:54 +01:00
parent ce7b1d3a21
commit 939d5e4ce1
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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,