remove stale debugging
Ted Unangst tedu@tedunangst.com
Thu, 10 Oct 2019 19:14:11 -0400
1 files changed,
0 insertions(+),
6 deletions(-)
jump to
M
activity.go
→
activity.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") } } }