Add step to confirm decrypt before doing it in the background

This commit is contained in:
Jon Staab
2024-11-19 10:11:31 -08:00
parent 7cc2a2f264
commit e5fd172994
4 changed files with 83 additions and 4 deletions
+3 -1
View File
@@ -59,7 +59,7 @@ import {
} from "@welshman/app"
import type {AppSyncOpts} from "@welshman/app"
import type {SubscribeRequestWithHandlers} from "@welshman/net"
import {deriveEvents, deriveEventsMapped, withGetter} from "@welshman/store"
import {deriveEvents, deriveEventsMapped, withGetter, synced} from "@welshman/store"
export const ROOM = "~"
@@ -278,6 +278,8 @@ export const deriveEventsForUrl = (url: string, filters: Filter[]) =>
// Settings
export const canDecrypt = synced("canDecrypt", false)
export const SETTINGS = 38489
export type Settings = {