This commit is contained in:
tamaina 2024-03-09 08:54:18 +00:00
parent 1c7007449d
commit 680839afd6
1 changed files with 3 additions and 1 deletions

View File

@ -119,7 +119,9 @@ export class ApInboxService {
// ついでにリモートユーザーの情報が古かったら更新しておく
if (actor.uri) {
if (actor.lastFetchedAt == null || Date.now() - actor.lastFetchedAt.getTime() > 1000 * 60 * 60 * 24) {
await this.apPersonService.updatePerson(actor.uri);
setImmediate(() => {
this.apPersonService.updatePerson(actor.uri);
});
}
}
return reason;