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

View File

@ -45,16 +45,16 @@ class TextNoteEvent(
fun create(
msg: String,
replyTos: List<String>?,
mentions: List<String>?,
addresses: List<ATag>?,
extraTags: List<String>?,
replyTos: List<String>? = null,
mentions: List<String>? = null,
addresses: List<ATag>? = null,
extraTags: List<String>? = null,
zapReceiver: List<ZapSplitSetup>? = null,
markAsSensitive: Boolean,
zapRaiserAmount: Long?,
replyingTo: String?,
root: String?,
directMentions: Set<HexKey>,
markAsSensitive: Boolean = false,
zapRaiserAmount: Long? = null,
replyingTo: String? = null,
root: String? = null,
directMentions: Set<HexKey> = emptySet(),
geohash: String? = null,
nip94attachments: List<FileHeaderEvent>? = null,
signer: NostrSigner,