1
0

upd: add additional checks for akkoma and pleroma

This commit is contained in:
Mar0xy
2023-11-12 22:27:20 +01:00
parent 5c38e6b824
commit 6170461dc5
@@ -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;
}
}