all repos — honk @ 24083a4eb69e6507820310c49cb22c16be0dfc9b

my fork of honk

add /followers to audience since some people want to see it
Ted Unangst tedu@tedunangst.com
Sun, 11 Feb 2024 17:54:32 -0500
commit

24083a4eb69e6507820310c49cb22c16be0dfc9b

parent

026f91b302914916dd9db7c7ef25ed8012b6724c

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M activity.goactivity.go

@@ -1287,6 +1287,9 @@ j := junk.New()

j["id"] = user.URL + "/" + h.What + "/" + shortxid(h.XID) j["actor"] = user.URL j["published"] = dt + if h.Public { + h.Audience = append(h.Audience, user.URL+"/followers") + } j["to"] = h.Audience[0] if len(h.Audience) > 1 { j["cc"] = h.Audience[1:]