fix: wrong type for isVisibleForMe
This commit is contained in:
parent
0a050eac56
commit
6b109c7b0f
2 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ export default async function(resolver: Resolver, actor: CacheableRemoteUser, ac
|
|||
throw e;
|
||||
}
|
||||
|
||||
if (!await Notes.isVisibleForMe(renote, actor)) return 'skip: invalid actor for this activity';
|
||||
if (!await Notes.isVisibleForMe(renote, actor.id)) return 'skip: invalid actor for this activity';
|
||||
|
||||
logger.info(`Creating the (Re)Note: ${uri}`);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue