all repos — honk @ 6cd533e589e4e6c1a22610b03218bb46530658ec

my fork of honk

fix getting attributedTo from complex objects
Ted Unangst tedu@tedunangst.com
Wed, 31 Jan 2024 23:56:26 -0500
commit

6cd533e589e4e6c1a22610b03218bb46530658ec

parent

466fa4b6ec5157da77e04afcce29e06097509dc6

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M activity.goactivity.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)