This commit is contained in:
Jon Staab
2026-02-02 14:33:45 -08:00
parent 764719afde
commit d646ddd91d
+5 -1
View File
@@ -121,7 +121,11 @@
if (eventToEdit) { if (eventToEdit) {
// Delete previous message, to be republished with same timestamp // Delete previous message, to be republished with same timestamp
template.created_at = eventToEdit.created_at template.created_at = eventToEdit.created_at
publishDelete({relays: [url], event: eventToEdit, protect: await shouldProtect}) publishDelete({
relays: [url],
event: $state.snapshot(eventToEdit),
protect: await shouldProtect,
})
} }
if (share) { if (share) {