mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-12 01:02:39 +02:00
fix(frontend): remove clone notifications, allow public podcast access
This commit is contained in:
parent
9a4da10b12
commit
3c835bdf7e
4 changed files with 5 additions and 116 deletions
|
|
@ -119,15 +119,6 @@ export function useInbox(
|
|||
|
||||
async function startSync() {
|
||||
try {
|
||||
// Check for force resync flag (e.g., after clone from public page)
|
||||
if (localStorage.getItem("surfsense_force_notif_resync") === "true") {
|
||||
console.log("[useInbox] Force resync flag detected, clearing notifications");
|
||||
await client.db.exec("DELETE FROM notifications");
|
||||
localStorage.removeItem("surfsense_force_notif_resync");
|
||||
// Reset sync key to force a fresh sync
|
||||
userSyncKeyRef.current = null;
|
||||
}
|
||||
|
||||
const cutoffDate = getSyncCutoffDate();
|
||||
const userSyncKey = `inbox_${userId}_${cutoffDate}`;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue