Loads the replies of the selected note.

This commit is contained in:
Vitor Pamplona 2023-03-31 15:30:57 -04:00
parent 97017e2bd5
commit 6c5fecc4d2

View File

@ -53,7 +53,11 @@ class ThreadAssembler {
val threadRoot = searchRoot(note, thread) ?: note
loadDown(threadRoot, thread)
loadDown(note, thread)
// adds the replies of the note in case the search for Root
// did not added them.
note.replies.forEach {
loadDown(it, thread)
}
thread.toSet()
} else {