add /followers to audience since some people want to see it
Ted Unangst tedu@tedunangst.com
Sun, 11 Feb 2024 17:54:32 -0500
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
activity.go
→
activity.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:]