From 663ee79877daaa0e6e677a2e68cb8e96f3861907 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sat, 6 Jul 2019 13:31:11 -0400 Subject: [PATCH] better effort at combining thread id --- activity.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/activity.go b/activity.go index d1819b6..73daa61 100644 --- a/activity.go +++ b/activity.go @@ -644,9 +644,6 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk { if currenttid == "" { currenttid = convoy } - if convoy == "" { - convoy = currenttid - } if oonker == who { oonker = "" @@ -661,7 +658,6 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk { xonk.Noise = content xonk.Precis = precis xonk.Audience = audience - xonk.Convoy = convoy xonk.Oonker = oonker if needxonk(user, &xonk) { @@ -670,6 +666,10 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk { saveoneup(rid) } } + if convoy == "" { + convoy = currenttid + } + xonk.Convoy = convoy return &xonk } return nil