]> git.treefish.org Git - mtxbot.git/commitdiff
refactoring
authorAlexander Schmidt <alex@treefish.org>
Sat, 3 Oct 2020 10:46:21 +0000 (12:46 +0200)
committerAlexander Schmidt <alex@treefish.org>
Sat, 3 Oct 2020 10:46:21 +0000 (12:46 +0200)
src/presence.py

index 2f348d65f2280fe2870ce7eb59d3458fa57f9b27..0ab1ad44a3f2f43e7cb4c0032c199e91eff09051 100644 (file)
@@ -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):