Add pow to wrapped messages

This commit is contained in:
Jon Staab
2026-03-30 11:22:22 -07:00
parent a66193ff45
commit 2da5dee6bd
4 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -40,10 +40,10 @@
const edit = canEdit?.(event) ? () => onEdit?.(event) : undefined
const deleteReaction = (event: TrustedEvent) =>
sendWrapped({event: makeDelete({event, protect: false}), recipients: pubkeys})
sendWrapped({event: makeDelete({event, protect: false}), recipients: pubkeys, pow: 16})
const createReaction = (template: EventContent) =>
sendWrapped({event: makeReaction({event, protect: false, ...template}), recipients: pubkeys})
sendWrapped({event: makeReaction({event, protect: false, ...template}), recipients: pubkeys, pow: 16})
const openProfile = () => pushModal(ProfileDetail, {pubkey: event.pubkey})