From 5b10e2038824b5c1347bf81d41c890df3de38f1a Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 16 Jul 2019 03:35:04 -0400 Subject: [PATCH] try grabbing the name if no summary --- activity.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/activity.go b/activity.go index db0de40..78af076 100644 --- a/activity.go +++ b/activity.go @@ -562,6 +562,9 @@ func xonkxonk(user *WhatAbout, item junk.Junk, origin string) *Honk { audience = newphone(audience, obj) xid, _ = obj.GetString("id") precis, _ = obj.GetString("summary") + if precis == "" { + precis, _ = obj.GetString("name") + } content, _ = obj.GetString("content") if !strings.HasPrefix(content, "

") { content = "

" + content