mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 09:03:08 +02:00
upd: add additional checks for akkoma and pleroma
This commit is contained in:
parent
5c38e6b824
commit
6170461dc5
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue