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
No known key found for this signature in database
GPG Key ID: 65135F94E23F82C8

View File

@ -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