소스 검색

Fix missing cookie jar argument setting up proxy

Nick Mills-Barrett 2 년 전
부모
커밋
44ac03ab70
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      mautrix_instagram/user.py

+ 1 - 1
mautrix_instagram/user.py

@@ -374,7 +374,7 @@ class User(DBUser, BaseUser):
         if self.mqtt:
             self.mqtt.setup_proxy()
         if self.command_status:
-            self.command_status["api"].setup_http()
+            self.command_status["api"].setup_http(self.command_status["state"].cookies.jar)
 
     # TODO this stuff could probably be moved to mautrix-python
     async def get_notice_room(self) -> RoomID: