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
M
fun.go
→
fun.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 {