try grabbing the name if no summary
Ted Unangst tedu@tedunangst.com
Tue, 16 Jul 2019 03:35:04 -0400
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -562,6 +562,9 @@ } else {
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, "<p>") { content = "<p>" + content