all repos — honk @ 6a957a5a46f5bb43246df10b4404cc5ceadb7b77

my fork of honk

don't address to followers while the posts go on the wrong timelines
Ted Unangst tedu@tedunangst.com
Fri, 03 May 2019 14:09:08 -0400
commit

6a957a5a46f5bb43246df10b4404cc5ceadb7b77

parent

b9c093e48e5c2491e142f9f796bf7bf178e11fe2

2 files changed, 10 insertions(+), 0 deletions(-)

jump to
M fun.gofun.go

@@ -231,6 +231,15 @@ func prepend(s string, x []string) []string {

return append([]string{s}, x...) } +// pleroma leaks followers addressed posts to followers +func butnottooloud(aud []string) { + for i, a := range aud { + if strings.HasSuffix(a, "/followers") { + aud[i] = "" + } + } +} + func oneofakind(a []string) []string { var x []string for n, s := range a {
M honk.gohonk.go

@@ -877,6 +877,7 @@ }

if convoy == "" { convoy = "data:,electrichonkytonk-" + xfiltrate() } + butnottooloud(honk.Audience) honk.Audience = oneofakind(honk.Audience) noise = obfusbreak(noise) honk.Noise = noise