check for signatures while post import

This commit is contained in:
cutestnekoaqua 2023-03-30 17:52:17 +02:00
parent 09aeb6e2f5
commit 897b5f928d
No known key found for this signature in database
GPG key ID: 6BF0964A5069C1E0

View file

@ -87,6 +87,11 @@ export async function importPosts(
if (post.directMessage) {
continue;
}
if (job.data.signatureCheck) {
if(!post.signature) {
continue;
}
}
let text;
try {
text = htmlToMfm(post.object.content, post.object.tag);