feat(desktop): sync channel sections across devices via Nostr (#792)

This commit is contained in:
Will Pfleger
2026-06-01 16:02:14 -04:00
committed by GitHub
parent 2b052eb465
commit 753d0fe264
7 changed files with 589 additions and 73 deletions

View File

@@ -10,6 +10,7 @@ import { resetMediaCaches } from "@/shared/lib/mediaUrl";
import { clearSearchHitEventCache } from "@/app/navigation/searchHitEventCache";
import { clearAllDrafts } from "@/features/messages/lib/useDrafts";
import { resetAgentObserverStore } from "@/features/agents/observerRelayStore";
import { resetSyncState } from "@/features/sidebar/lib/channelSectionsSync";
import { initFirstWorkspace } from "./workspaceStorage";
import type { Workspace } from "./types";
@@ -26,6 +27,7 @@ function resetWorkspaceState(): void {
resetMediaCaches();
clearSearchHitEventCache();
clearAllDrafts();
resetSyncState();
}
type WorkspaceInitResult =