if the summary isn't blank, add it to the content
Ted Unangst tedu@tedunangst.com
Sat, 13 Apr 2019 13:21:32 -0400
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -407,6 +407,10 @@ if ot == "Note" {
audience = newphone(audience, obj) xid, _ = jsongetstring(obj, "id") content, _ = jsongetstring(obj, "content") + summary, _ := jsongetstring(obj, "content") + if summary != "" { + content = "<p>summary: " + summary + content + } rid, _ = jsongetstring(obj, "inReplyTo") if what == "honk" && rid != "" { what = "tonk"