From d9f14eda67869d8dec02066325fa47995bf4aa0d Mon Sep 17 00:00:00 2001 From: Alexander Schmidt Date: Sat, 3 Oct 2020 12:46:21 +0200 Subject: [PATCH] refactoring --- src/presence.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/presence.py b/src/presence.py index 2f348d6..0ab1ad4 100644 --- a/src/presence.py +++ b/src/presence.py @@ -58,16 +58,12 @@ class Presence: async def _do_watch(self, client): while not self._stop: - self._log(logging.INFO, "WATCHING...") - await client.sync() - if await self._joined_room_id(client) == None: self._is_member = False self._tickle_fifo() else: self._is_member = True - await asyncio.sleep(3.0) def _tickle_fifo(self): -- 2.39.5