fix audience ordering when mentioning/replying. wow, this was broken a long time.
Ted Unangst tedu@tedunangst.com
Sat, 06 Jan 2024 20:20:09 -0500
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
web.go
→
web.go
@@ -1863,7 +1863,7 @@ }
} else if updatexid == "" { honk.Audience = []string{thewholeworld} } - if honk.Noise != "" && honk.Noise[0] == '@' { + if noise != "" && noise[0] == '@' { honk.Audience = append(grapevine(honk.Mentions), honk.Audience...) } else { honk.Audience = append(honk.Audience, grapevine(honk.Mentions)...)