This commit is contained in:
Henry Jameson 2026-08-04 22:51:24 +03:00
commit 57fbc5126a

View file

@ -305,10 +305,11 @@ const conversation = {
topLevel() { topLevel() {
const topLevel = this.conversation.reduce( const topLevel = this.conversation.reduce(
(tl, cur) => (tl, cur) =>
tl.filter((k) => tl.filter(
!this.getReplies(cur.id) (k) =>
.map((v) => v.id) !this.getReplies(cur.id)
.includes(k.id), .map((v) => v.id)
.includes(k.id),
), ),
this.conversation, this.conversation,
) )