[PR #4] [MERGED] Reconnect WS on disconnect #75

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

📋 Pull Request Information

Original PR: https://github.com/guyzyl/whatsapp-contact-sync/pull/4
Author: @guyzyl
Created: 8/14/2022
Status: Merged
Merged: 8/14/2022
Merged by: @guyzyl

Base: mainHead: reconnect-ws


📝 Commits (1)

  • 8ac5489 Reconnect WS on discconect

📊 Changes

2 files changed (+8 additions, -1 deletions)

View changed files

📝 web/src/main.ts (+4 -1)
📝 web/src/services/ws.ts (+4 -0)

📄 Description

Currently in some cases if the server resets while the page is open, the WS isn't automatically reconnected.
This PR should fix this issue in most cases.


🔄 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/4 **Author:** [@guyzyl](https://github.com/guyzyl) **Created:** 8/14/2022 **Status:** ✅ Merged **Merged:** 8/14/2022 **Merged by:** [@guyzyl](https://github.com/guyzyl) **Base:** `main` ← **Head:** `reconnect-ws` --- ### 📝 Commits (1) - [`8ac5489`](https://github.com/guyzyl/whatsapp-contact-sync/commit/8ac54893ceda3b53c0d9346c6308698bd2cf95f4) Reconnect WS on discconect ### 📊 Changes **2 files changed** (+8 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `web/src/main.ts` (+4 -1) 📝 `web/src/services/ws.ts` (+4 -0) </details> ### 📄 Description Currently in some cases if the server resets while the page is open, the WS isn't automatically reconnected. This PR should fix this issue in most cases. --- <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:05 +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#75
No description provided.