Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fbchat/_session.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def _from_session(cls, session):
raise _exception.NotLoggedIn("Could not find fb_dtsg")
fb_dtsg = res.group(1)

revision = int(r.text.split('"client_revision":', 1)[1].split(",", 1)[0])
revision = int(user_id)

logout_h_element = soup.find("input", {"name": "h"})
logout_h = logout_h_element["value"] if logout_h_element else None
Expand Down