all repos — honk @ 258d92cba3b4cec98cdfb7733323f09c6d226d57

my fork of honk

don't fool around with adding /followers to addressing
Ted Unangst tedu@tedunangst.com
Fri, 25 Sep 2020 18:49:47 -0400
commit

258d92cba3b4cec98cdfb7733323f09c6d226d57

parent

d8c806f17382698deb007894a2fd31f87f7e298b

1 files changed, 2 insertions(+), 6 deletions(-)

jump to
M activity.goactivity.go

@@ -1057,11 +1057,7 @@ j := junk.New()

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

@@ -1677,7 +1673,7 @@ j["@context"] = itiswhatitis

j["id"] = fmt.Sprintf("%s/upme/%s/%d", user.URL, user.Name, time.Now().Unix()) j["actor"] = user.URL j["published"] = dt - j["to"] = []string{thewholeworld, user.URL + "/followers"} + j["to"] = thewholeworld j["type"] = "Update" j["object"] = junkuser(user)