fix getting attributedTo from complex objects
Ted Unangst tedu@tedunangst.com
Wed, 31 Jan 2024 23:56:26 -0500
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
activity.go
→
activity.go
@@ -793,7 +793,7 @@ xonk.XID = xid
xonk.UserID = user.ID xonk.Honker, _ = item.GetString("actor") if xonk.Honker == "" { - xonk.Honker, _ = item.GetString("attributedTo") + xonk.Honker = extractattrto(item) } if originate(xonk.Honker) != origin { ilog.Printf("out of bounds honker %s from %s", xonk.Honker, origin)