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") } } }