fix: regression that caused replies to not get federated

This commit is contained in:
Julian Lam
2024-09-06 22:04:20 -04:00
parent 045e16d3ce
commit 652d6c6e2b

View File

@@ -150,6 +150,8 @@ activitypubApi.create.note = enabledCheck(async (caller, { pid, post }) => {
if (!post) {
return;
}
} else {
pid = post.pid;
}
const allowed = await privileges.posts.can('topics:read', pid, activitypub._constants.uid);