Removes the need to specify nulls for new TextNote creations

This commit is contained in:
Vitor Pamplona
2024-02-23 18:08:30 -05:00
parent 173e82d236
commit 452911bf27
@@ -45,16 +45,16 @@ class TextNoteEvent(
fun create( fun create(
msg: String, msg: String,
replyTos: List<String>?, replyTos: List<String>? = null,
mentions: List<String>?, mentions: List<String>? = null,
addresses: List<ATag>?, addresses: List<ATag>? = null,
extraTags: List<String>?, extraTags: List<String>? = null,
zapReceiver: List<ZapSplitSetup>? = null, zapReceiver: List<ZapSplitSetup>? = null,
markAsSensitive: Boolean, markAsSensitive: Boolean = false,
zapRaiserAmount: Long?, zapRaiserAmount: Long? = null,
replyingTo: String?, replyingTo: String? = null,
root: String?, root: String? = null,
directMentions: Set<HexKey>, directMentions: Set<HexKey> = emptySet(),
geohash: String? = null, geohash: String? = null,
nip94attachments: List<FileHeaderEvent>? = null, nip94attachments: List<FileHeaderEvent>? = null,
signer: NostrSigner, signer: NostrSigner,