mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-26 23:53:01 +00: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