summary refs log tree commit diff
path: root/synapse/storage/databases/main/devices.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2022-06-07 16:24:56 +0100
committerBrendan Abolivier <babolivier@matrix.org>2022-06-07 16:24:56 +0100
commitf699573e68d5ea1a2c53331caf01d4c131384a63 (patch)
tree54cf261329017f588141ff7cdbe2142229023771 /synapse/storage/databases/main/devices.py
parentDefine source (diff)
parentReturn the same error message from `/login` when password is incorrect and wh... (diff)
downloadsynapse-f699573e68d5ea1a2c53331caf01d4c131384a63.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into babolivier/sonar_coverage
Diffstat (limited to 'synapse/storage/databases/main/devices.py')
-rw-r--r--synapse/storage/databases/main/devices.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/synapse/storage/databases/main/devices.py b/synapse/storage/databases/main/devices.py

index d900064c07..71e7863dd8 100644 --- a/synapse/storage/databases/main/devices.py +++ b/synapse/storage/databases/main/devices.py
@@ -1433,16 +1433,6 @@ class DeviceStore(DeviceWorkerStore, DeviceBackgroundUpdateStore): ) raise StoreError(500, "Problem storing device.") - async def delete_device(self, user_id: str, device_id: str) -> None: - """Delete a device and its device_inbox. - - Args: - user_id: The ID of the user which owns the device - device_id: The ID of the device to delete - """ - - await self.delete_devices(user_id, [device_id]) - async def delete_devices(self, user_id: str, device_ids: List[str]) -> None: """Deletes several devices.