logic fail after refactor

This commit is contained in:
Ted Unangst 2023-06-13 19:21:35 -04:00
parent 23f9a3b8bf
commit 6cb5152611
1 changed files with 1 additions and 1 deletions

2
web.go
View File

@ -1037,7 +1037,7 @@ func threadsort(honks []*Honk) []*Honk {
p.Style += fmt.Sprintf(" level%d", level)
}
levelup := true
if pp := honkx[p.RID]; pp != nil && p.Honker != pp.Honker {
if pp := honkx[p.RID]; pp == nil || p.Honker == pp.Honker {
levelup = false
}
if levelup {