recurse into created object instead of assuming honk

This commit is contained in:
Ted Unangst 2019-10-10 20:19:18 -04:00
parent 385284e7f5
commit 2bfd2f97c2
1 changed files with 5 additions and 0 deletions

View File

@ -500,6 +500,11 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk {
if err != nil { if err != nil {
log.Printf("error getting creation: %s", err) log.Printf("error getting creation: %s", err)
} }
} else {
xid, _ = obj.GetString("id")
}
if obj != nil {
return xonkxonkfn(obj, originate(xid))
} }
what = "honk" what = "honk"
case "Read": case "Read":