Skip to content

Replace window.Store in utils.getChats#119

Merged
avoylenko merged 1 commit intoavoylenko:mainfrom
nirizr:nirizr/fix_store/client_get_chats
Mar 11, 2026
Merged

Replace window.Store in utils.getChats#119
avoylenko merged 1 commit intoavoylenko:mainfrom
nirizr:nirizr/fix_store/client_get_chats

Conversation

@nirizr
Copy link
Copy Markdown
Contributor

@nirizr nirizr commented Mar 11, 2026

This fixes #116 by adhering to the newer whatsapp-web.js interface and using 'window.require' instead of 'window.store'

This fix works for me.

This fixes avoylenko#116 by adhering to the newer whatsapp-web.js interface and using 'window.require' instead of 'window.store'
@avoylenko avoylenko merged commit f1ff781 into avoylenko:main Mar 11, 2026
1 check passed
@nirizr nirizr deleted the nirizr/fix_store/client_get_chats branch March 11, 2026 12:37
bajarang-agarwal2 added a commit to bajarang-agarwal2/wwebjs-api that referenced this pull request Mar 31, 2026
Replace window.Store in utils.getChats (avoylenko#119)
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.

Error: Cannot read properties of undefined (reading 'Chat')

2 participants