From 8f9c838a0720594d2c4409d2d320d29782577391 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Fri, 25 Sep 2020 18:49:47 -0400 Subject: [PATCH] don't fool around with adding /followers to addressing --- activity.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/activity.go b/activity.go index b1f511e..46c817b 100644 --- a/activity.go +++ b/activity.go @@ -1057,11 +1057,7 @@ func jonkjonk(user *WhatAbout, h *Honk) (junk.Junk, junk.Junk) { 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 @@ func updateMe(username string) { 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)