Fix realtime sync notifications

This commit is contained in:
shuaiplus
2026-06-22 16:46:55 +08:00
parent 045b23fc47
commit 9a21504f40
2 changed files with 6 additions and 4 deletions
+1 -2
View File
@@ -1626,7 +1626,7 @@ export default function App() {
continue;
}
if (contextId && contextId === getCurrentDeviceIdentifier()) continue;
if (updateType === SIGNALR_UPDATE_TYPE_SYNC_CIPHERS) {
if (updateType === SIGNALR_UPDATE_TYPE_SYNC_CIPHERS || updateType === SIGNALR_UPDATE_TYPE_SYNC_VAULT) {
if (notificationRefreshTimerRef.current !== null) {
window.clearTimeout(notificationRefreshTimerRef.current);
}
@@ -1660,7 +1660,6 @@ export default function App() {
deleteSendLocally(resourceId, revisionStamp);
continue;
}
if (updateType === SIGNALR_UPDATE_TYPE_SYNC_VAULT) continue;
}
});