can use prepend here
This commit is contained in:
parent
fd632ab1d4
commit
2a06f69aa0
2
honk.go
2
honk.go
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue