remove some extra variables

This commit is contained in:
Ted Unangst 2019-10-19 15:26:36 -04:00
parent c758123933
commit 3de799b34c
1 changed files with 2 additions and 4 deletions

View File

@ -1061,8 +1061,7 @@ func jonkjonk(user *WhatAbout, h *Honk) (junk.Junk, junk.Junk) {
} }
var tags []junk.Junk var tags []junk.Junk
g := bunchofgrapes(h.Noise) for _, m := range bunchofgrapes(h.Noise) {
for _, m := range g {
t := junk.New() t := junk.New()
t["type"] = "Mention" t["type"] = "Mention"
t["name"] = m.who t["name"] = m.who
@ -1077,8 +1076,7 @@ func jonkjonk(user *WhatAbout, h *Honk) (junk.Junk, junk.Junk) {
t["name"] = o t["name"] = o
tags = append(tags, t) tags = append(tags, t)
} }
herd := herdofemus(h.Noise) for _, e := range herdofemus(h.Noise) {
for _, e := range herd {
t := junk.New() t := junk.New()
t["id"] = e.ID t["id"] = e.ID
t["type"] = "Emoji" t["type"] = "Emoji"