ah, look for content in the right object

This commit is contained in:
Ted Unangst 2019-10-08 00:33:02 -04:00
parent 87b1fe6e87
commit 75fdc3a5f4
1 changed files with 1 additions and 1 deletions

View File

@ -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='([^']*)'`)