can use prepend here

This commit is contained in:
Ted Unangst 2019-04-15 18:03:36 -04:00
parent fd632ab1d4
commit 2a06f69aa0
1 changed files with 1 additions and 1 deletions

View File

@ -718,7 +718,7 @@ func savehonk(w http.ResponseWriter, r *http.Request) {
if noise[0] == '@' {
honk.Audience = append(grapevine(noise), thewholeworld)
} else {
honk.Audience = append([]string{thewholeworld}, grapevine(noise)...)
honk.Audience = prepend(thewholeworld, grapevine(noise))
}
if rid != "" {
xonk := getxonk("", rid)