From df1f73f45eb08e13a12b84f955420590baae93bd Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sat, 13 Apr 2019 13:21:32 -0400 Subject: [PATCH] if the summary isn't blank, add it to the content --- activity.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/activity.go b/activity.go index 3abad20..b598117 100644 --- a/activity.go +++ b/activity.go @@ -407,6 +407,10 @@ func xonkxonk(item interface{}) *Honk { audience = newphone(audience, obj) xid, _ = jsongetstring(obj, "id") content, _ = jsongetstring(obj, "content") + summary, _ := jsongetstring(obj, "content") + if summary != "" { + content = "

summary: " + summary + content + } rid, _ = jsongetstring(obj, "inReplyTo") if what == "honk" && rid != "" { what = "tonk"