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