[PR #112] [MERGED] Shuffle Google contacts before starting sync #156

Closed
opened 2026-02-27 04:59:22 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/guyzyl/whatsapp-contact-sync/pull/112
Author: @guyzyl
Created: 7/28/2023
Status: Merged
Merged: 7/28/2023
Merged by: @guyzyl

Base: mainHead: shuffle-contacts-before-sync


📝 Commits (2)

  • fbff927 Shuffle Google contacts before starting sync
  • fc0d9f6 Fix typo

📊 Changes

1 file changed (+9 additions, -2 deletions)

View changed files

📝 server/src/sync.ts (+9 -2)

📄 Description

For some reason all of the contacts that don't have a photo are at the beginning of the array, this causes the sync to feel slow since no photos show up on the UI.
To "fix" this, we shuffle the array so that the contacts without photos are spread out.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/guyzyl/whatsapp-contact-sync/pull/112 **Author:** [@guyzyl](https://github.com/guyzyl) **Created:** 7/28/2023 **Status:** ✅ Merged **Merged:** 7/28/2023 **Merged by:** [@guyzyl](https://github.com/guyzyl) **Base:** `main` ← **Head:** `shuffle-contacts-before-sync` --- ### 📝 Commits (2) - [`fbff927`](https://github.com/guyzyl/whatsapp-contact-sync/commit/fbff9271d18eaf9cd346f990ecaa2bdc1ff7b768) Shuffle Google contacts before starting sync - [`fc0d9f6`](https://github.com/guyzyl/whatsapp-contact-sync/commit/fc0d9f6e59f8ab5de0cbd9d307f8140b3c678ca8) Fix typo ### 📊 Changes **1 file changed** (+9 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `server/src/sync.ts` (+9 -2) </details> ### 📄 Description For some reason all of the contacts that don't have a photo are at the beginning of the array, this causes the sync to feel slow since no photos show up on the UI. To "fix" this, we shuffle the array so that the contacts without photos are spread out. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 04:59:22 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whatsapp-contact-sync#156
No description provided.