Send default reactions as Like activities to Iceshrimp.NET instances

This commit is contained in:
ShittyKopper 2024-05-02 02:37:59 +03:00
parent e0afeff248
commit e333283905

View file

@ -283,9 +283,10 @@ export class ApRendererService {
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 === 'akkoma') isMastodon = true;
if (instance && instance.softwareName === 'pleroma') isMastodon = true; if (instance && instance.softwareName === 'pleroma') isMastodon = true;
if (instance && instance.softwareName === 'iceshrimp.net') isMastodon = true;
} }
} }
const object: ILike = { const object: ILike = {
type: 'Like', type: 'Like',
id: `${this.config.url}/likes/${noteReaction.id}`, id: `${this.config.url}/likes/${noteReaction.id}`,