all repos — honk @ f067588bde2ae2a1fef04dd257ec6d017d5bfde6

my fork of honk

retry follow requests
Ted Unangst tedu@tedunangst.com
Mon, 10 Jun 2019 23:51:04 -0400
commit

f067588bde2ae2a1fef04dd257ec6d017d5bfde6

parent

82ecaf2fcf586e7ec899dd0e6d272e17249ed573

1 files changed, 9 insertions(+), 9 deletions(-)

jump to
M activity.goactivity.go

@@ -710,16 +710,16 @@ j["to"] = xid

j["object"] = xid j["published"] = time.Now().UTC().Format(time.RFC3339) - box, err := getboxes(xid) - if err != nil { - log.Printf("can't send follow: %s", err) - return - } - keyname, key := ziggy(user.Name) - err = PostJunk(keyname, key, box.In, j) - if err != nil { - log.Printf("failed to subsub: %s", err) + a := xid + box, _ := getboxes(xid) + if box != nil { + a = "%" + box.In } + var buf bytes.Buffer + WriteJunk(&buf, j) + msg := buf.Bytes() + + deliverate(0, user.Name, a, msg) } func jonkjonk(user *WhatAbout, h *Honk) (map[string]interface{}, map[string]interface{}) {