From e333283905d2fd25f2fcfbe449d4fa05bd85d09c Mon Sep 17 00:00:00 2001 From: ShittyKopper Date: Thu, 2 May 2024 02:37:59 +0300 Subject: [PATCH] Send default reactions as Like activities to Iceshrimp.NET instances --- packages/backend/src/core/activitypub/ApRendererService.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/backend/src/core/activitypub/ApRendererService.ts b/packages/backend/src/core/activitypub/ApRendererService.ts index a84feffac6..bdf92edb2e 100644 --- a/packages/backend/src/core/activitypub/ApRendererService.ts +++ b/packages/backend/src/core/activitypub/ApRendererService.ts @@ -283,9 +283,10 @@ export class ApRendererService { if (instance && instance.softwareName === 'mastodon') isMastodon = true; if (instance && instance.softwareName === 'akkoma') isMastodon = true; if (instance && instance.softwareName === 'pleroma') isMastodon = true; + if (instance && instance.softwareName === 'iceshrimp.net') isMastodon = true; } } - + const object: ILike = { type: 'Like', id: `${this.config.url}/likes/${noteReaction.id}`,