From 6170461dc5fffcf5fe2c549762bc8a560c0f9322 Mon Sep 17 00:00:00 2001
From: Mar0xy <marie@kaifa.ch>
Date: Sun, 12 Nov 2023 22:27:20 +0100
Subject: [PATCH] upd: add additional checks for akkoma and pleroma

---
 packages/backend/src/core/activitypub/ApRendererService.ts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/packages/backend/src/core/activitypub/ApRendererService.ts b/packages/backend/src/core/activitypub/ApRendererService.ts
index cc550d517a..bbf9c3b019 100644
--- a/packages/backend/src/core/activitypub/ApRendererService.ts
+++ b/packages/backend/src/core/activitypub/ApRendererService.ts
@@ -280,6 +280,8 @@ export class ApRendererService {
 				const instance = await this.instancesRepository.findOneBy({ host: note.userHost });
 
 				if (instance && instance.softwareName === 'mastodon') isMastodon = true;
+				if (instance && instance.softwareName === 'akkoma')	isMastodon = true;
+				if (instance && instance.softwareName === 'pleroma') isMastodon = true;
 			}
 		}