From a77cab2538a50947f82886d8f031d9678c005c74 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 10 Oct 2019 19:14:11 -0400 Subject: [PATCH] remove stale debugging --- activity.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/activity.go b/activity.go index e090ab8..a3a6b1c 100644 --- a/activity.go +++ b/activity.go @@ -545,11 +545,9 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk { 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 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk { origin = originate(xid) what = "bonk" } - } else { - log.Printf("can't find link") } - } else { - log.Printf("no source content") } } }