Merge branch 'master' into develop

This commit is contained in:
Barış Soner Uşaklı
2025-02-18 11:43:52 -05:00
5 changed files with 24 additions and 10 deletions

View File

@@ -229,6 +229,10 @@ Notes.assertPrivate = async (object) => {
// Given an object, adds it to an existing chat or creates a new chat otherwise
// todo: context stuff
if (!object || !object.id || !activitypub.helpers.isUri(object.id)) {
return null;
}
const localUids = [];
const recipients = new Set([...object.to, ...object.cc]);
await Promise.all(Array.from(recipients).map(async (value) => {