Add step to confirm decrypt before doing it in the background
This commit is contained in:
+3
-1
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user