upd: add additional checks for akkoma and pleroma
This commit is contained in:
@@ -280,6 +280,8 @@ export class ApRendererService {
|
|||||||
const instance = await this.instancesRepository.findOneBy({ host: note.userHost });
|
const instance = await this.instancesRepository.findOneBy({ host: note.userHost });
|
||||||
|
|
||||||
if (instance && instance.softwareName === 'mastodon') isMastodon = true;
|
if (instance && instance.softwareName === 'mastodon') isMastodon = true;
|
||||||
|
if (instance && instance.softwareName === 'akkoma') isMastodon = true;
|
||||||
|
if (instance && instance.softwareName === 'pleroma') isMastodon = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user