mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-20 20:50:50 +02:00
fix bug: quote repost is tied up to a post which is replyed a little while ago. (2)
This commit is contained in:
@@ -72,14 +72,13 @@ open class NewPostViewModel : ViewModel() {
|
|||||||
this.mentions = currentMentions.plus(replyUser)
|
this.mentions = currentMentions.plus(replyUser)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} ?: {
|
} ?: run {
|
||||||
replyTos = null
|
replyTos = null
|
||||||
mentions = null
|
mentions = null
|
||||||
}
|
}
|
||||||
|
|
||||||
quote?.let {
|
quote?.let {
|
||||||
message = TextFieldValue(message.text + "\n\n@${it.idNote()}")
|
message = TextFieldValue(message.text + "\n\n@${it.idNote()}")
|
||||||
this.replyTos = emptyList<Note>()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
canAddInvoice = account.userProfile().info?.lnAddress() != null
|
canAddInvoice = account.userProfile().info?.lnAddress() != null
|
||||||
|
Reference in New Issue
Block a user