summary refs log tree commit diff
path: root/synapse/storage/databases/main/devices.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-10-20 17:42:19 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-10-20 17:42:19 +0100
commit531389972b1ab71ec129d352a109ff8d8fe64906 (patch)
tree3208acb89e8cbb831d52bac8b359a76e0147d70f /synapse/storage/databases/main/devices.py
parentMerge commit 'aec708517' into anoa/dinsic_release_1_21_x (diff)
parentConvert `event_push_actions`, `registration`, and `roommember` datastores to ... (diff)
downloadsynapse-531389972b1ab71ec129d352a109ff8d8fe64906.tar.xz
Merge commit 'd58fda99f' into anoa/dinsic_release_1_21_x
* commit 'd58fda99f':
  Convert `event_push_actions`, `registration`, and `roommember` datastores to async (#8197)
  Only return devices with keys from `/federation/v1/user/devices/` (#8198)
Diffstat (limited to 'synapse/storage/databases/main/devices.py')
-rw-r--r--synapse/storage/databases/main/devices.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/synapse/storage/databases/main/devices.py b/synapse/storage/databases/main/devices.py

index ecd3f3b310..def96637a2 100644 --- a/synapse/storage/databases/main/devices.py +++ b/synapse/storage/databases/main/devices.py
@@ -498,9 +498,7 @@ class DeviceWorkerStore(SQLBaseStore): ) -> Tuple[int, List[JsonDict]]: now_stream_id = self._device_list_id_gen.get_current_token() - devices = self._get_e2e_device_keys_txn( - txn, [(user_id, None)], include_all_devices=True - ) + devices = self._get_e2e_device_keys_txn(txn, [(user_id, None)]) if devices: user_devices = devices[user_id]