all repos — honk @ 403bc4439ff4702e803f2c171982044e552014a5

my fork of honk

cheat a bit by using random id for follows
Ted Unangst tedu@tedunangst.com
Mon, 10 Aug 2020 15:16:42 -0400
commit

403bc4439ff4702e803f2c171982044e552014a5

parent

cb63e31a9375376cd52d06639c40ce073fc08a62

1 files changed, 3 insertions(+), 4 deletions(-)

jump to
M activity.goactivity.go

@@ -983,11 +983,10 @@ io.WriteString(fd, "\n")

} func rubadubdub(user *WhatAbout, req junk.Junk) { - xid, _ := req.GetString("id") actor, _ := req.GetString("actor") j := junk.New() j["@context"] = itiswhatitis - j["id"] = user.URL + "/dub/" + url.QueryEscape(xid) + j["id"] = user.URL + "/dub/" + xfiltrate() j["type"] = "Accept" j["actor"] = user.URL j["to"] = actor

@@ -1005,7 +1004,7 @@ j["type"] = "Undo"

j["actor"] = user.URL j["to"] = xid f := junk.New() - f["id"] = user.URL + "/sub/" + url.QueryEscape(xid) + f["id"] = user.URL + "/sub/" + xfiltrate() f["type"] = "Follow" f["actor"] = user.URL f["to"] = xid

@@ -1023,7 +1022,7 @@ return

} j := junk.New() j["@context"] = itiswhatitis - j["id"] = user.URL + "/sub/" + url.QueryEscape(xid) + j["id"] = user.URL + "/sub/" + xfiltrate() j["type"] = "Follow" j["actor"] = user.URL j["to"] = owner