Node.js based forum software built for the modern web
fix: Update activity handling for non-Person actors
Julian Lam5e343a83f879
diff --git a/src/activitypub/inbox.js b/src/activitypub/inbox.jsindex 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 throughcase 'Person': {await activitypub.actors.assert(object.id, { update: true });break;