Fix the formatting of encrypted direct message

This commit is contained in:
Wilson Silva
2023-11-14 16:28:16 +07:00
parent be4c3e0e32
commit 80c272f149

View File

@@ -43,7 +43,7 @@ module Nostr
pubkey: sender_public_key,
kind: Nostr::EventKind::ENCRYPTED_DIRECT_MESSAGE,
content: encrypted_content,
)
)
add_pubkey_reference(recipient_public_key)
add_event_reference(previous_direct_message) if previous_direct_message