i think maybe we want the thread sorted the other way actually?
This commit is contained in:
parent
634d74d139
commit
4f0d15ebb5
7
web.go
7
web.go
|
@ -1078,9 +1078,16 @@ func threadsort(honks []*Honk) []*Honk {
|
|||
}
|
||||
p.Style += fmt.Sprintf(" level%d", level)
|
||||
childs := kids[p.XID]
|
||||
if false {
|
||||
sort.SliceStable(childs, func(i, j int) bool {
|
||||
return sameperson(childs[i], p) && !sameperson(childs[j], p)
|
||||
})
|
||||
}
|
||||
if true {
|
||||
sort.SliceStable(childs, func(i, j int) bool {
|
||||
return !sameperson(childs[i], p) && sameperson(childs[j], p)
|
||||
})
|
||||
}
|
||||
for _, h := range childs {
|
||||
if !done[h] {
|
||||
done[h] = true
|
||||
|
|
Loading…
Reference in New Issue