all repos — honk @ a936f884ba29801e5b6599392191e60daba9e2c1

my fork of honk

there's always a funner name to be found
Ted Unangst tedu@tedunangst.com
Wed, 30 Oct 2019 03:39:56 -0400
commit

a936f884ba29801e5b6599392191e60daba9e2c1

parent

9a60ad332e2aff7536da92a2740262b81ffe7dcd

3 files changed, 6 insertions(+), 6 deletions(-)

jump to
M database.godatabase.go

@@ -360,7 +360,7 @@ return nil

} h.Date, _ = time.Parse(dbtimeformat, dt) h.Audience = strings.Split(aud, " ") - h.Public = !keepitquiet(h.Audience) + h.Public = loudandproud(h.Audience) return h }
M fun.gofun.go

@@ -538,13 +538,13 @@ }

} } -func keepitquiet(aud []string) bool { +func loudandproud(aud []string) bool { for _, a := range aud { if a == thewholeworld { - return false + return true } } - return true + return false } func firstclass(honk *Honk) bool {
M web.goweb.go

@@ -1032,7 +1032,7 @@ XID: xonk.XID,

Date: time.Now().UTC(), Audience: oneofakind(xonk.Audience), } - zonk.Public = !keepitquiet(zonk.Audience) + zonk.Public = loudandproud(zonk.Audience) log.Printf("announcing %sed honk: %s", what, xonk.XID) go honkworldwide(user, zonk)

@@ -1286,7 +1286,7 @@ log.Printf("honk to nowhere")

http.Error(w, "honk to nowhere...", http.StatusNotFound) return } - honk.Public = !keepitquiet(honk.Audience) + honk.Public = loudandproud(honk.Audience) honk.Convoy = convoy donkxid := r.FormValue("donkxid")