mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
check for signatures while post import
This commit is contained in:
parent
cf5671cb05
commit
1b61d1a58d
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue