Skip to content

Commit

Permalink
fix: Fixed fetchLinkPreview function for WhatsApp >= 2.2240.5
Browse files Browse the repository at this point in the history
  • Loading branch information
edgardmessias committed Oct 17, 2022
1 parent 3061174 commit 9681357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/whatsapp/functions/fetchLinkPreview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ exportModule(
(m, id) => {
const source: string = webpack.moduleSource(id);
return (
source.includes('.queryLinkPreview') &&
source.includes('.genMinimalLinkPreview') &&
source.includes('.getProductOrCatalogLinkPreview')
);
}
Expand Down

0 comments on commit 9681357

Please sign in to comment.