mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-05 20:32:35 +02:00
Fixing search for root to go backwards in the etag-stack.
This commit is contained in:
@@ -22,7 +22,7 @@ class ThreadAssembler {
|
||||
}
|
||||
}
|
||||
|
||||
val hasNoReplyTo = note.replyTo?.firstOrNull { it.replyTo?.isEmpty() == true }
|
||||
val hasNoReplyTo = note.replyTo?.reversed()?.firstOrNull { it.replyTo?.isEmpty() == true }
|
||||
if (hasNoReplyTo != null) return hasNoReplyTo
|
||||
|
||||
// recursive
|
||||
|
Reference in New Issue
Block a user