[PR #759] [MERGED] Fix account sync race condition #1410

Closed
opened 2026-05-07 01:01:58 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/759
Author: @nimbleghost
Created: 5/31/2023
Status: Merged
Merged: 5/31/2023
Merged by: @binwiederhier

Base: mainHead: fix-race-condition


📝 Commits (1)

  • 453bf43 Fix account sync race condition

📊 Changes

1 file changed (+7 additions, -0 deletions)

View changed files

📝 web/src/components/hooks.js (+7 -0)

📄 Description

Sometimes the subscription is already unsubscribed due to account sync before a received message is handled, this ignores the message if so.


🔄 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/binwiederhier/ntfy/pull/759 **Author:** [@nimbleghost](https://github.com/nimbleghost) **Created:** 5/31/2023 **Status:** ✅ Merged **Merged:** 5/31/2023 **Merged by:** [@binwiederhier](https://github.com/binwiederhier) **Base:** `main` ← **Head:** `fix-race-condition` --- ### 📝 Commits (1) - [`453bf43`](https://github.com/binwiederhier/ntfy/commit/453bf435b0be9f8ed459e4fb43abbb87eb6d1f64) Fix account sync race condition ### 📊 Changes **1 file changed** (+7 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `web/src/components/hooks.js` (+7 -0) </details> ### 📄 Description Sometimes the subscription is already unsubscribed due to account sync before a received message is handled, this ignores the message if so. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 01:01:58 +02: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/ntfy#1410
No description provided.