all repos — honk @ 71e63a5d2da9f2f20d762200b9088f580e51e87c

my fork of honk

remove some extra variables
Ted Unangst tedu@tedunangst.com
Sat, 19 Oct 2019 15:26:36 -0400
commit

71e63a5d2da9f2f20d762200b9088f580e51e87c

parent

42e02c64dee98507190ff91ed0c711df6bd70fb6

1 files changed, 2 insertions(+), 4 deletions(-)

jump to
M activity.goactivity.go

@@ -1061,8 +1061,7 @@ jo["replies"] = jr

} var tags []junk.Junk - g := bunchofgrapes(h.Noise) - for _, m := range g { + for _, m := range bunchofgrapes(h.Noise) { t := junk.New() t["type"] = "Mention" t["name"] = m.who

@@ -1077,8 +1076,7 @@ t["href"] = fmt.Sprintf("https://%s/o/%s", serverName, o[1:])

t["name"] = o tags = append(tags, t) } - herd := herdofemus(h.Noise) - for _, e := range herd { + for _, e := range herdofemus(h.Noise) { t := junk.New() t["id"] = e.ID t["type"] = "Emoji"