merge: Send default reactions as Like activities to Iceshrimp.NET instances (!505)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/505 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <marie@kaifa.ch>
This commit is contained in:
commit
89f412c696
|
@ -284,9 +284,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}`,
|
||||||
|
|
Loading…
Reference in New Issue