From a6bc5de523445e1ac550697f93b942b56e8884eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 21 May 2019 13:43:05 +0200 Subject: [PATCH] client: Don't verify devices automatically anymore. --- pantalaimon/client.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/pantalaimon/client.py b/pantalaimon/client.py index 4c21e98..fa04bc5 100644 --- a/pantalaimon/client.py +++ b/pantalaimon/client.py @@ -94,17 +94,6 @@ class PanClient(AsyncClient): self.key_request_tasks = [] async def keys_query_cb(self, response): - changed_devices = response.changed - - for user_id, device_dict in changed_devices.items(): - for device in device_dict.values(): - if device.deleted: - continue - - logger.info("Automatically verifying device {} of " - "user {}".format(device.id, user_id)) - self.verify_device(device) - await self.send_update_devcies() def undecrypted_event_cb(self, room, event):