From 3de799b34caf3d6ff7fc9e1f11e20225a9e508e8 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sat, 19 Oct 2019 15:26:36 -0400 Subject: [PATCH] remove some extra variables --- activity.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/activity.go b/activity.go index 9992cb2..da57ca0 100644 --- a/activity.go +++ b/activity.go @@ -1061,8 +1061,7 @@ func jonkjonk(user *WhatAbout, h *Honk) (junk.Junk, junk.Junk) { } 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 @@ func jonkjonk(user *WhatAbout, h *Honk) (junk.Junk, junk.Junk) { 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"