From bcd4cba30dac64ca96e7cbd3f3ef8b49786fdfbc Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 10 Oct 2019 17:52:36 -0400 Subject: [PATCH] handle case where attributedto is array of strings --- activity.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/activity.go b/activity.go index b50c6e4..2a411ff 100644 --- a/activity.go +++ b/activity.go @@ -394,6 +394,10 @@ func extractattrto(obj junk.Junk) string { return id } } + s, ok := a.(string) + if ok { + return s + } } return "" }