From 5e343a83f8791ff5789aef25822c2ef53b7a0ca1 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 9 Jul 2024 14:30:03 -0400 Subject: [PATCH] fix: Update activity handling for non-Person actors --- src/activitypub/inbox.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/activitypub/inbox.js b/src/activitypub/inbox.js index a30373209b..c1002388ed 100644 --- a/src/activitypub/inbox.js +++ b/src/activitypub/inbox.js @@ -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;