feat: allow user auto-categorization rule

This commit is contained in:
Julian Lam
2025-09-08 14:57:51 -04:00
parent 10f665e3e3
commit 1d6a9fe738
5 changed files with 39 additions and 3 deletions

View File

@@ -417,6 +417,13 @@ async function assignCategory(post) {
}
break;
}
case 'user': {
if (post.uid === value) {
activitypub.helpers.log(`[activitypub] - Rule match: user ${value}; cid: ${target}`);
return target;
}
}
}
}