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 WA 2.2146.9 #990

Merged
merged 4 commits into from
Nov 24, 2021
Merged

Fix WA 2.2146.9 #990

merged 4 commits into from
Nov 24, 2021

Conversation

tuyuribr
Copy link
Collaborator

@tuyuribr tuyuribr commented Nov 24, 2021

WA is serving two versions to me, so we need to check window.mR.findModule('Conn').length for a while

tuyuribr and others added 4 commits November 24, 2021 02:51
WA is serving two versions to me,  so we need to check window.mR.findModule('Conn').lengh for a while
@pedroslopez pedroslopez self-requested a review November 24, 2021 13:37
Copy link
Owner

@pedroslopez pedroslopez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! I simplified the Conn stuff a little - I believe you were seeing two results because we were setting things on the default Store module directly.

@pedroslopez pedroslopez merged commit 3958105 into pedroslopez:main Nov 24, 2021
Belfio pushed a commit to Belfio/whatsapp-web.js that referenced this pull request Jan 9, 2024
* Fix WA 2.2146.9

WA is serving two versions to me,  so we need to check window.mR.findModule('Conn').lengh for a while

* to singleQuotes

* Update Injected.js

* simplify getting `Conn` module, use different object for `Store`

Co-authored-by: Pedro Lopez <pedroslopez@me.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants