mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
check for signatures while post import
This commit is contained in:
parent
cf5671cb05
commit
1b61d1a58d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user