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) { if (post.directMessage) {
continue; continue;
} }
if (job.data.signatureCheck) {
if(!post.signature) {
continue;
}
}
let text; let text;
try { try {
text = htmlToMfm(post.object.content, post.object.tag); text = htmlToMfm(post.object.content, post.object.tag);