mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 16:00:26 +01:00
Merge branch 'master' into develop
This commit is contained in:
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user