20 is a better limit for handles

This commit is contained in:
Ted Unangst 2019-06-24 14:16:12 -04:00
parent 059540e3a7
commit 0f564e2cce
1 changed files with 2 additions and 2 deletions

4
fun.go
View File

@ -42,8 +42,8 @@ func reverbolate(honks []*Honk) {
} else {
_, h.Handle = honkerhandle(h.Honker)
h.Username = h.Handle
if len(h.Username) > 40 {
h.Username = h.Username[:40] + ".."
if len(h.Username) > 20 {
h.Username = h.Username[:20] + ".."
}
if h.URL == "" {
h.URL = h.XID