don't fool around with adding /followers to addressing
This commit is contained in:
parent
e1cff81b4c
commit
8f9c838a07
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue