mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 19:37:34 -07:00
Close #9473
This commit is contained in:
parent
3cfb6675e7
commit
cdc210f0f0
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue