remove some extra variables
Ted Unangst tedu@tedunangst.com
Sat, 19 Oct 2019 15:26:36 -0400
1 files changed,
2 insertions(+),
4 deletions(-)
jump to
M
activity.go
→
activity.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"