better effort at combining thread id

This commit is contained in:
Ted Unangst 2019-07-06 13:31:11 -04:00
parent c78a6828fb
commit 663ee79877
1 changed files with 4 additions and 4 deletions

View File

@ -644,9 +644,6 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk {
if currenttid == "" { if currenttid == "" {
currenttid = convoy currenttid = convoy
} }
if convoy == "" {
convoy = currenttid
}
if oonker == who { if oonker == who {
oonker = "" oonker = ""
@ -661,7 +658,6 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk {
xonk.Noise = content xonk.Noise = content
xonk.Precis = precis xonk.Precis = precis
xonk.Audience = audience xonk.Audience = audience
xonk.Convoy = convoy
xonk.Oonker = oonker xonk.Oonker = oonker
if needxonk(user, &xonk) { if needxonk(user, &xonk) {
@ -670,6 +666,10 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk {
saveoneup(rid) saveoneup(rid)
} }
} }
if convoy == "" {
convoy = currenttid
}
xonk.Convoy = convoy
return &xonk return &xonk
} }
return nil return nil