From 75fdc3a5f4a6e074cedec31ff6ff663e34e63abe Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Tue, 8 Oct 2019 00:33:02 -0400 Subject: [PATCH] ah, look for content in the right object --- activity.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activity.go b/activity.go index 74a4201..0169169 100644 --- a/activity.go +++ b/activity.go @@ -536,7 +536,7 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk { if ok { log.Printf("looks like friendica") // friendica does the silliest bonks - c, ok := item.FindString([]string{"source", "content"}) + c, ok := obj.FindString([]string{"source", "content"}) if ok { log.Printf("got content") re_link := regexp.MustCompile(`link='([^']*)'`)