all repos — honk @ 168554bc68b5943a302e884f18fef5d7d26718c4

my fork of honk

check for owner before attributedTo
Ted Unangst tedu@tedunangst.com
Sat, 10 Jun 2023 23:51:31 -0400
commit

168554bc68b5943a302e884f18fef5d7d26718c4

parent

c1d2976ab2efaa095282a0f8cebd7c17822bb13a

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

jump to
M activity.goactivity.go

@@ -1737,7 +1737,10 @@ info.Name, _ = obj.GetString("preferredUsername")

if info.Name == "" { info.Name, _ = obj.GetString("name") } - info.Owner, _ = obj.GetString("attributedTo") + info.Owner, _ = obj.GetString("owner") + if info.Owner == "" { + info.Owner, _ = obj.GetString("attributedTo") + } if info.Owner == "" { info.Owner = info.XID }