diff --git a/.env b/.env
index f3a7f5da..06d8299a 100644
--- a/.env
+++ b/.env
@@ -26,5 +26,4 @@ VITE_BUGSNAG_API_KEY=
VITE_BUILD_HASH=
VITE_LOG_LEVEL=error
VITE_ENABLE_MARKET=true
-
-
+VITE_BLUR_CONTENT=false
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4840a010..8c1f1b65 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,6 +3,7 @@
# 0.4.9
- [x] Add person zaps
+- [x] Bring back delete
# 0.4.8
diff --git a/src/app/shared/Note.svelte b/src/app/shared/Note.svelte
index b2e44fad..b8647cc6 100644
--- a/src/app/shared/Note.svelte
+++ b/src/app/shared/Note.svelte
@@ -297,7 +297,9 @@
}}>Show
{:else}
-
+
+
+
{/if}
router.pop()
const onConfirm = () => {
- deleteEventById({kind, id: eid})
+ deleteEvent({kind, id: eid})
router.pop()
}
diff --git a/src/engine/commands.ts b/src/engine/commands.ts
index dc7b97c6..75ba172d 100644
--- a/src/engine/commands.ts
+++ b/src/engine/commands.ts
@@ -669,12 +669,6 @@ export const publishDeletion = ({kind, address = null, id = null}) => {
export const deleteEvent = event =>
publishDeletion({id: event.id, address: getAddress(event), kind: event.kind})
-export const deleteEventById = ({kind, id}) =>
- publishDeletion({
- kind,
- id,
- })
-
export const deleteEventByAddress = address =>
publishDeletion({address, kind: Address.from(address).kind})
diff --git a/src/engine/state.ts b/src/engine/state.ts
index 2ff49503..97fce492 100644
--- a/src/engine/state.ts
+++ b/src/engine/state.ts
@@ -172,6 +172,7 @@ export const env = new Writable({
DVM_RELAYS: fromCsv(import.meta.env.VITE_DVM_RELAYS).map(normalizeRelayUrl) as string[],
ENABLE_MARKET: JSON.parse(import.meta.env.VITE_ENABLE_MARKET) as boolean,
ENABLE_ZAPS: JSON.parse(import.meta.env.VITE_ENABLE_ZAPS) as boolean,
+ BLUR_CONTENT: JSON.parse(import.meta.env.VITE_BLUR_CONTENT) as boolean,
FORCE_GROUP: import.meta.env.VITE_FORCE_GROUP as string,
IMGPROXY_URL: import.meta.env.VITE_IMGPROXY_URL as string,
MULTIPLEXTR_URL: import.meta.env.VITE_MULTIPLEXTR_URL as string,