Fix dm interop

This commit is contained in:
Jon Staab
2024-10-11 11:20:13 -07:00
parent fa7852113b
commit 064c69eed0
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
const assertEvent = (e: any) => e as TrustedEvent
const onSubmit = async ({content, ...params}: EventContent) => {
const tags = [...params.tags, ...pubkeys.map(pubkey => tagPubkey(pubkey))]
const tags = [...params.tags, ...remove($pubkey!, pubkeys).map(tagPubkey)]
const template = createEvent(DIRECT_MESSAGE, {content, tags})
await sendWrapped({template, pubkeys})