make some effort to fill in thread when missing

This commit is contained in:
Ted Unangst 2019-06-07 11:15:46 -04:00
parent 0f117e7840
commit 02ca7e2849
1 changed files with 8 additions and 0 deletions

View File

@ -457,6 +457,7 @@ func consumeactivity(user *WhatAbout, j interface{}, origin string) {
func xonkxonk(user *WhatAbout, item interface{}, origin string) *Honk {
depth := 0
maxdepth := 4
currenttid := ""
var xonkxonkfn func(item interface{}, origin string) *Honk
saveoneup := func(xid string) {
@ -608,6 +609,13 @@ func xonkxonk(user *WhatAbout, item interface{}, origin string) *Honk {
audience = oneofakind(audience)
if currenttid == "" {
currenttid = convoy
}
if convoy == "" {
convoy = currenttid
}
if oonker == who {
oonker = ""
}