mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-09-20 08:22:00 +03:00
upd: add additional checks for akkoma and pleroma
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue