Prechádzať zdrojové kódy

Always add challenge data field

Tulir Asokan 3 rokov pred
rodič
commit
10a1181440
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      mautrix_instagram/user.py

+ 1 - 0
mautrix_instagram/user.py

@@ -382,6 +382,7 @@ class User(DBUser, BaseUser):
                 "user_id": resp.user_id,
                 "action": resp.action,
                 "status": resp.status,
+                "challenge": e.body.challenge.serialize() if e.body.challenge else None,
             }
             self.log.debug(f"Challenge state: {resp.serialize()}")
             if resp.challenge_context.challenge_type_enum == "HACKED_LOCK":