check for signatures while post import

This commit is contained in:
cutestnekoaqua 2023-03-30 17:52:17 +02:00
parent cf5671cb05
commit 1b61d1a58d

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);