mirror of
https://github.com/guyzyl/whatsapp-contact-sync.git
synced 2026-04-25 14:05:48 +03:00
[GH-ISSUE #111] Calling of client.getProfilePicUrl slows down sync #27
Labels
No labels
big-feature
bug
dependencies
duplicate
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whatsapp-contact-sync#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @guyzyl on GitHub (Jul 28, 2023).
Original GitHub issue: https://github.com/guyzyl/whatsapp-contact-sync/issues/111
When syncing, for every match between a Google and a WhatsApp contact the
whatsapp.downloadFilefunction is called.Within it, the function
getProfilePicUrlis called to get the URL of the profile picture of the user.The problem is that not all contacts have a profile pic, so calling
getProfilePicUrl(takes ~1 second) is a waste of time and slows down the whole sync process.Need to find a way to improve this step of the sync process.
@guyzyl commented on GitHub (Jul 28, 2023):
Duplicate of #104 (oops)
lru-cache#92