소스 검색

Remove duplicate error notice when thread sync fails

Tulir Asokan 2 년 전
부모
커밋
1e0075bfa8
1개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 7
      mautrix_instagram/user.py

+ 0 - 7
mautrix_instagram/user.py

@@ -833,13 +833,6 @@ class User(DBUser, BaseUser):
                     # The sync was successful. Exit the loop.
                     return
                 except IGNotLoggedInError as e:
-                    await self.send_bridge_notice(
-                        f"You have been logged out of Instagram: {e!s}",
-                        important=True,
-                        state_event=BridgeStateEvent.BAD_CREDENTIALS,
-                        error_code="ig-auth-error",
-                        error_message=str(e),
-                    )
                     await self.logout(error=e)
                     return
                 except Exception: