fix merge failure

This commit is contained in:
あわわわとーにゅ 2024-12-25 04:34:04 +09:00
parent c6b6aab90e
commit d9ed763849
No known key found for this signature in database
GPG Key ID: 6AFBBF529601C1DB

View File

@ -183,7 +183,7 @@ export class ApNoteService {
// eslint-disable-next-line no-param-reassign
actor ??= await this.apPersonService.fetchPerson(uri) as MiRemoteUser | undefined;
if (actor && actor.isSuspended) {
throw new IdentifiableError('85ab9bd7-3a41-4530-959d-f07073900109', `User ${cachedActor.id} has been suspended.`);
throw new IdentifiableError('85ab9bd7-3a41-4530-959d-f07073900109', `User ${actor.id} has been suspended.`);
}
const apMentions = await this.apMentionService.extractApMentions(note.tag, resolver);