mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
fix: Update activity handling for non-Person actors
This commit is contained in:
@@ -106,6 +106,10 @@ inbox.update = async (req) => {
|
||||
break;
|
||||
}
|
||||
|
||||
case 'Application': // falls through
|
||||
case 'Group': // falls through
|
||||
case 'Organization': // falls through
|
||||
case 'Service': // falls through
|
||||
case 'Person': {
|
||||
await activitypub.actors.assert(object.id, { update: true });
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user