diff --git a/activity.go b/activity.go index 2da4941..486f44e 100644 --- a/activity.go +++ b/activity.go @@ -1235,7 +1235,7 @@ func collectiveaction(honk *Honk) { j["id"] = user.URL + "/add/" + shortxid(ont+honk.XID) j["actor"] = user.URL j["object"] = honk.XID - j["target"] = fmt.Sprintf("https://%s/o/%s", ont[1:]) + j["target"] = fmt.Sprintf("https://%s/o/%s", serverName, ont[1:]) rcpts := make(map[string]bool) for _, dub := range dubs { var box *Box diff --git a/web.go b/web.go index 22a96b8..ce6110d 100644 --- a/web.go +++ b/web.go @@ -506,7 +506,7 @@ func serverinbox(w http.ResponseWriter, r *http.Request) { return } ont := "#" + m[1] - log.Printf("updating honker undo: %s", who, ont) + log.Printf("updating honker undo: %s %s", who, ont) _, err = stmtUpdateFlavor.Exec("undub", user.ID, who, ont, "dub") if err != nil { log.Printf("error updating honker: %s", err)