diff --git a/fun.go b/fun.go index 489adb5..0c61493 100644 --- a/fun.go +++ b/fun.go @@ -190,7 +190,7 @@ func filterchonk(ch *Chonk) { if short := shortname(ch.UserID, ch.Who); short != "" { ch.Handle = short } else { - _, ch.Handle = handles(ch.Who) + ch.Handle, _ = handles(ch.Who) } } diff --git a/views/chatter.html b/views/chatter.html index b2052b4..f0d3986 100644 --- a/views/chatter.html +++ b/views/chatter.html @@ -15,10 +15,22 @@ {{ $chonkcsrf := .ChonkCSRF }} {{ range .Chatter }}
+{{ $target := "" }} {{ range . }} +{{ if eq $target "" }} +{{ $target = .Target }} +

chatter: {{ .Target }} +{{ end }}

{{ .Handle }}: {{ .HTML }} {{ end }} +

+ + +


+ +

+

{{ end }}