From 8c2775056d97eccb43ad8777c1b74dda1dfadf26 Mon Sep 17 00:00:00 2001 From: Andrew Ferrazzutti Date: Sun, 6 Mar 2022 03:18:41 -0500 Subject: [PATCH] Set logged-in flag after manual login Not just after loading a session --- matrix_appservice_kakaotalk/user.py | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix_appservice_kakaotalk/user.py b/matrix_appservice_kakaotalk/user.py index 082dc55..8c2f778 100644 --- a/matrix_appservice_kakaotalk/user.py +++ b/matrix_appservice_kakaotalk/user.py @@ -592,6 +592,7 @@ class User(DBUser, BaseUser): self.oauth_credential = oauth_credential self.client = Client(self, log=self.log.getChild("ktclient")) await self.save() + self._is_logged_in = True try: self._logged_in_info = await self.client.fetch_logged_in_user(post_login=True) self._logged_in_info_time = time.monotonic()