mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Fix: add done statements
This commit is contained in:
parent
61295c8fbb
commit
a2a9415839
1 changed files with 3 additions and 0 deletions
|
@ -24,10 +24,12 @@ export async function importMastoPost(
|
|||
reply = await resolveNote(post.object.inReplyTo);
|
||||
}
|
||||
if (post.directMessage) {
|
||||
done();
|
||||
return;
|
||||
}
|
||||
if (job.data.signatureCheck) {
|
||||
if (!post.signature) {
|
||||
done();
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -35,6 +37,7 @@ export async function importMastoPost(
|
|||
try {
|
||||
text = htmlToMfm(post.object.content, post.object.tag);
|
||||
} catch (e) {
|
||||
done();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue