mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: regression that caused replies to not get federated
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user