Merge branch 'master' into develop

This commit is contained in:
Julian Lam
2025-02-26 12:57:47 -05:00
3 changed files with 49 additions and 41 deletions

View File

@@ -234,7 +234,7 @@ Notes.assertPrivate = async (object) => {
}
const localUids = [];
const recipients = new Set([...object.to, ...object.cc]);
const recipients = new Set([...(object.to || []), ...(object.cc || [])]);
await Promise.all(Array.from(recipients).map(async (value) => {
const { type, id } = await activitypub.helpers.resolveLocalId(value);
if (type === 'user') {