only inline emus we actually have

This commit is contained in:
Ted Unangst 2019-07-08 20:58:47 -04:00
parent 6051a54796
commit 29da0f3cdf
1 changed files with 3 additions and 1 deletions

4
fun.go
View File

@ -76,7 +76,9 @@ func reverbolate(honks []*Honk) {
for _, d := range h.Donks {
if d.Name == e {
zap[d] = true
return fmt.Sprintf(`<img class="emu" title="%s" src="/d/%s">`, d.Name, d.XID)
if d.Local {
return fmt.Sprintf(`<img class="emu" title="%s" src="/d/%s">`, d.Name, d.XID)
}
}
}
return e