Skip to content

Commit

Permalink
Update SERVER_JS_DEFINE_REGEX, so logging in on newer FB versions work
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Jun 14, 2020
1 parent a6cf1d5 commit 8ac6dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fbchat/_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


SERVER_JS_DEFINE_REGEX = re.compile(
r'require(?:\("ServerJS"\).{,100}\.handle\({.*"define":)|(?:\("ServerJSDefine"\)\)?\.handleDefines\()'
r'(?:"ServerJS".{,100}\.handle\({.*"define":)|(?:require\("ServerJSDefine"\)\)?\.handleDefines\()'
)
SERVER_JS_DEFINE_JSON_DECODER = json.JSONDecoder()

Expand Down

0 comments on commit 8ac6dc4

Please sign in to comment.