all repos — honk @ 293ff347eb76ff9e94df252c33a1ab612af2ef7b

my fork of honk

use saved mentions when creating ap object
Ted Unangst tedu@tedunangst.com
Tue, 18 Feb 2020 15:49:10 -0500
commit

293ff347eb76ff9e94df252c33a1ab612af2ef7b

parent

00f50e19b5b54c849d988ca9816372c4c41c27e3

1 files changed, 6 insertions(+), 1 deletions(-)

jump to
M activity.goactivity.go

@@ -1016,7 +1016,12 @@ }

if !h.Public { jo["directMessage"] = true } - mentions := bunchofgrapes(h.Noise) + var mentions []Mention + if len(h.Mentions) > 0 { + mentions = h.Mentions + } else { + mentions = bunchofgrapes(h.Noise) + } translate(h) redoimages(h) jo["summary"] = html.EscapeString(h.Precis)