check for signatures while post import
This commit is contained in:
parent
09aeb6e2f5
commit
897b5f928d
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue