revert to sending summary for images, it should work
Ted Unangst tedu@tedunangst.com
Thu, 09 Mar 2023 12:32:53 -0500
1 files changed,
2 insertions(+),
7 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -1142,13 +1142,8 @@ continue
} jd := junk.New() jd["mediaType"] = d.Media - if !strings.Contains(d.Media, "image") { - // nobody does this right - jd["name"] = d.Name - jd["summary"] = html.EscapeString(d.Desc) - } else { - jd["name"] = d.Desc - } + jd["name"] = d.Name + jd["summary"] = html.EscapeString(d.Desc) jd["type"] = "Document" jd["url"] = d.URL atts = append(atts, jd)