From 7d58da93f96112d73ef9d111b8d22075a952a3f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 30 Apr 2019 18:15:39 +0200 Subject: [PATCH] client: No need to mark to-device messages as sent anymore. --- pantalaimon/client.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pantalaimon/client.py b/pantalaimon/client.py index d13a40b..cb61647 100644 --- a/pantalaimon/client.py +++ b/pantalaimon/client.py @@ -119,10 +119,6 @@ class PanClient(AsyncClient): responses = await asyncio.gather(*tasks) - for message, response in responses: - if response.transport_response.status == 200: - self.mark_to_device_message_as_sent(message) - async def loop(self): self.loop_running = True self.loop_stopped.clear()