mirror of
https://github.com/misskey-dev/misskey
synced 2024-05-06 11:29:54 +02:00
also announce
This commit is contained in:
parent
d473d3b4c4
commit
7f3b48705d
|
@ -269,6 +269,10 @@ export class ApInboxService {
|
|||
|
||||
const resolver = this.apResolverService.createResolver();
|
||||
|
||||
if (!activity.object) return 'skip: activity has no object property';
|
||||
const targetUri = getApId(activity.object);
|
||||
if (targetUri.startsWith('bear:')) return 'skip: bearcaps url not supported.';
|
||||
|
||||
const target = await resolver.resolve(activity.object).catch(e => {
|
||||
this.logger.error(`Resolution failed: ${e}`);
|
||||
return e;
|
||||
|
|
Loading…
Reference in a new issue