@sl007 @humanetech Actually, attributedTo seems to be the standard way to represent group admins/moderators at this point — except Lemmy returns them as an array of IDs instead of objects. Added support for that because why not. Here's how it looks now.
@grishka @humanetech
Returning them as an array is correct cause it can be multiple.
Doing the same, see e.g. in the client https://github.com/redaktor/widgets-preview/blob/master/src/common/activityPubUtil.tsx
Having also support for an array of IDs (as long it is an URL.protocol I can deal with) cause it is specified as being valid.
“Range: Link | Object”
see also Example 68
https://www.w3.org/TR/activitystreams-vocabulary/#dfn-attributedto