ah, look for content in the right object
This commit is contained in:
parent
87b1fe6e87
commit
75fdc3a5f4
|
@ -536,7 +536,7 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk {
|
||||||
if ok {
|
if ok {
|
||||||
log.Printf("looks like friendica")
|
log.Printf("looks like friendica")
|
||||||
// friendica does the silliest bonks
|
// friendica does the silliest bonks
|
||||||
c, ok := item.FindString([]string{"source", "content"})
|
c, ok := obj.FindString([]string{"source", "content"})
|
||||||
if ok {
|
if ok {
|
||||||
log.Printf("got content")
|
log.Printf("got content")
|
||||||
re_link := regexp.MustCompile(`link='([^']*)'`)
|
re_link := regexp.MustCompile(`link='([^']*)'`)
|
||||||
|
|
Loading…
Reference in New Issue