diff options
author | Erik Johnston <erik@matrix.org> | 2021-04-15 14:13:45 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2021-04-15 14:13:45 +0100 |
commit | 68b9eb694f0896f11f0699a7e01bd7fb9210dba4 (patch) | |
tree | 3e05430849bf3bb4fb9bb4e7843da6a7ac63c7b5 /synapse/handlers/device.py | |
parent | Remove the federation replication stream and associated commands (diff) | |
download | synapse-erikj/remove_send_queue.tar.xz |
Tidy up hs.get_federation_sender() calls github/erikj/remove_send_queue erikj/remove_send_queue
Diffstat (limited to 'synapse/handlers/device.py')
-rw-r--r-- | synapse/handlers/device.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py index d75edb184b..bac7f26a06 100644 --- a/synapse/handlers/device.py +++ b/synapse/handlers/device.py @@ -484,7 +484,7 @@ class DeviceHandler(DeviceWorkerHandler): "device_list_key", position, users=[user_id], rooms=room_ids ) - if hosts: + if hosts and self.federation_sender: logger.info( "Sending device list update notif for %r to: %r", user_id, hosts ) |