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
|
if (hasNoReplyTo != null) return hasNoReplyTo
|
||||||
|
|
||||||
// recursive
|
// recursive
|
||||||
|
|||||||
Reference in New Issue
Block a user