mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-20 19:32:13 +01:00
feat: topic and category S2S get responses
This commit is contained in:
@@ -237,10 +237,3 @@ ActivityPub.send = async (type, id, targets, payload) => {
|
||||
}
|
||||
}));
|
||||
};
|
||||
|
||||
setTimeout(async () => {
|
||||
await ActivityPub.send('uid', 1, 'https://localhost/category/1', {
|
||||
type: 'Follow',
|
||||
object: 'https://localhost/category/1',
|
||||
});
|
||||
}, 2000);
|
||||
|
||||
@@ -232,6 +232,7 @@ Mocks.note = async (post) => {
|
||||
published,
|
||||
url: id,
|
||||
attributedTo: `${nconf.get('url')}/uid/${post.user.uid}`,
|
||||
audience: `${nconf.get('url')}/topic/${post.topic.slug}`,
|
||||
sensitive: false, // todo
|
||||
summary: null,
|
||||
name,
|
||||
|
||||
Reference in New Issue
Block a user