feat: federating out chat messages

re #12834
This commit is contained in:
Julian Lam
2024-10-07 14:09:34 -04:00
parent 8ef0df57e6
commit 2ab5ea39a6
6 changed files with 104 additions and 12 deletions

View File

@@ -264,7 +264,7 @@ Helpers.resolveObjects = async (ids) => {
if (!post) {
throw new Error('[[error:activitypub.invalid-id]]');
}
return activitypub.mocks.note(post);
return activitypub.mocks.notes.public(post);
}
case 'category': {
if (!await categories.exists(resolvedId)) {