This commit is contained in:
Kio-td 2023-02-10 00:19:47 -05:00
parent da2368bf7a
commit 4a1dbfad29
1 changed files with 2 additions and 1 deletions

View File

@ -123,7 +123,8 @@ export async function createNote(
// Skip if author is suspended. // Skip if author is suspended.
if (actor.isSuspended) { if (actor.isSuspended) {
throw new Error("actor has been suspended"); logger.debug(`User ${`${actor.usernameLower}@${actor.host}`} suspended; discarding.`)
return null;
} }
const noteAudience = await parseAudience(actor, note.to, note.cc); const noteAudience = await parseAudience(actor, note.to, note.cc);