Vitor Pamplona
2023-10-28 16:58:17 -04:00
parent 2f2914077b
commit f20fd1aebe
2 changed files with 8 additions and 6 deletions
@@ -283,6 +283,8 @@ open class NewPostViewModel() : ViewModel() {
(originalNote?.event as? TextNoteEvent)?.root() // if it has a marker as root
?: originalNote?.replyTo?.firstOrNull { it.event != null && it.replyTo?.isEmpty() == true }?.idHex // if it has loaded events with zero replies in the reply list
?: originalNote?.replyTo?.firstOrNull()?.idHex // old rules, first item is root.
?: originalNote?.idHex
val replyId = originalNote?.idHex
account?.sendPost(