all repos — honk @ 7a7d51ebcbb188d32839c7e59f1af186851e7489

my fork of honk

remove stale debugging
Ted Unangst tedu@tedunangst.com
Thu, 10 Oct 2019 19:14:11 -0400
commit

7a7d51ebcbb188d32839c7e59f1af186851e7489

parent

04263a1896914ce91f3984b2c4b69e05c3ac24db

1 files changed, 0 insertions(+), 6 deletions(-)

jump to
M activity.goactivity.go

@@ -545,11 +545,9 @@

if obj != nil { _, ok := obj.GetString("diaspora:guid") if ok { - log.Printf("looks like friendica") // friendica does the silliest bonks c, ok := obj.FindString([]string{"source", "content"}) if ok { - log.Printf("got content") re_link := regexp.MustCompile(`link='([^']*)'`) m := re_link.FindStringSubmatch(c) if len(m) > 1 {

@@ -566,11 +564,7 @@ obj = newobj

origin = originate(xid) what = "bonk" } - } else { - log.Printf("can't find link") } - } else { - log.Printf("no source content") } } }