try to keep the thread flat for simple reply chains
This commit is contained in:
parent
d86c38136f
commit
2f52375872
5
web.go
5
web.go
|
@ -1038,6 +1038,11 @@ func threadsort(honks []*Honk) []*Honk {
|
||||||
if pp := honkx[p.RID]; p.RID == "" || (pp != nil && p.Honker == pp.Honker) {
|
if pp := honkx[p.RID]; p.RID == "" || (pp != nil && p.Honker == pp.Honker) {
|
||||||
levelup = false
|
levelup = false
|
||||||
}
|
}
|
||||||
|
if level > 0 && len(kids[p.RID]) == 1 {
|
||||||
|
if pp := honkx[p.RID]; pp != nil && len(kids[pp.RID]) == 1 {
|
||||||
|
levelup = false
|
||||||
|
}
|
||||||
|
}
|
||||||
if levelup {
|
if levelup {
|
||||||
level++
|
level++
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue