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()