mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-09-27 14:47:45 +02:00
Loads the replies of the selected note.
This commit is contained in:
@@ -53,7 +53,11 @@ class ThreadAssembler {
|
|||||||
val threadRoot = searchRoot(note, thread) ?: note
|
val threadRoot = searchRoot(note, thread) ?: note
|
||||||
|
|
||||||
loadDown(threadRoot, thread)
|
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()
|
thread.toSet()
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user