Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Web WhatsApp session is not working with new Multi-device beta #87

Open
NavpreetDevpuri opened this issue Oct 30, 2021 · 2 comments

Comments

@NavpreetDevpuri
Copy link
Member

To reproduce join Multi-device beta and try to save session and restore session it is failing to restore session

from tithiwa import *

tithiwabot = Tithiwa()
tithiwabot.generate_session("01")

tithiwabot1 = Tithiwa()
tithiwabot1.open_session("01")
@alphabetagamer
Copy link

On diff checking between two session strings I found most key-value pairs were the same except a few like "debugCursor", could they be using values from those keys to verify if the session was newly initiated?

@NavpreetDevpuri
Copy link
Member Author

good findings, we can investigate it by experimenting about how web WhatsApp is storing sessions by trying to remove local storage or/and indexDB. Then we might figure out that both local storage and indexDB matter for sessions so, we have to get both local storage and indexDB from the browser in order to extract sessions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants