ah, look for content in the right object
Ted Unangst tedu@tedunangst.com
Tue, 08 Oct 2019 00:33:02 -0400
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -536,7 +536,7 @@ _, ok := obj.GetString("diaspora:guid")
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='([^']*)'`)