Skip to content

Commit 15bad86

Browse files
Merge pull request #7 from avoylenko/main
Replace window.Store in utils.getChats (avoylenko#119)
2 parents d507bbb + f1ff781 commit 15bad86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ const patchWWebLibrary = async (client) => {
145145
return true
146146
}
147147

148-
const allChats = window.Store.Chat.getModelsArray()
148+
const allChats = window.require('WAWebCollections').Chat.getModelsArray()
149149

150150
const filteredChats = allChats.filter(chatFilter)
151151

0 commit comments

Comments
 (0)