Fix the formatting of encrypted direct message
This commit is contained in:
parent
be4c3e0e32
commit
80c272f149
@ -43,7 +43,7 @@ module Nostr
|
|||||||
pubkey: sender_public_key,
|
pubkey: sender_public_key,
|
||||||
kind: Nostr::EventKind::ENCRYPTED_DIRECT_MESSAGE,
|
kind: Nostr::EventKind::ENCRYPTED_DIRECT_MESSAGE,
|
||||||
content: encrypted_content,
|
content: encrypted_content,
|
||||||
)
|
)
|
||||||
|
|
||||||
add_pubkey_reference(recipient_public_key)
|
add_pubkey_reference(recipient_public_key)
|
||||||
add_event_reference(previous_direct_message) if previous_direct_message
|
add_event_reference(previous_direct_message) if previous_direct_message
|
||||||
|
Loading…
x
Reference in New Issue
Block a user