mirror of
https://github.com/block/buzz.git
synced 2026-11-04 00:12:02 +00:00
feat(desktop): sync channel sections across devices via Nostr (#792)
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user