diff --git a/mautrix_telegram/abstract_user.py b/mautrix_telegram/abstract_user.py index 5075fd67..aadaf5dc 100644 --- a/mautrix_telegram/abstract_user.py +++ b/mautrix_telegram/abstract_user.py @@ -149,7 +149,7 @@ class AbstractUser(ABC): raise NotImplementedError() async def is_logged_in(self) -> bool: - return self.client and await self.client.is_user_authorized() + return self.client and self.client.is_connected() and await self.client.is_user_authorized() async def has_full_access(self, allow_bot: bool = False) -> bool: return (self.puppet_whitelisted