QFIX collaborators

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev 2025-02-03 02:00:34 +07:00
parent b075ab1ec3
commit 005c996433
No known key found for this signature in database
GPG Key ID: BD80F68D68D8F7F2

View File

@ -1385,7 +1385,7 @@ async function updateCollaboratorDoc (
if (collabsInfo.added.length > 0) { if (collabsInfo.added.length > 0) {
res.push(createPushCollaboratorsTx(control, tx.objectId, tx.objectClass, tx.objectSpace, collabsInfo.added)) res.push(createPushCollaboratorsTx(control, tx.objectId, tx.objectClass, tx.objectSpace, collabsInfo.added))
res.push(...(await pushCollaboratorsToPublicSpace(control, doc, collabsInfo.added, cache))) // res.push(...(await pushCollaboratorsToPublicSpace(control, doc, collabsInfo.added, cache)))
} }
if (collabsInfo.removed.length > 0) { if (collabsInfo.removed.length > 0) {
@ -1603,7 +1603,7 @@ async function updateCollaborators (
if (toAdd.length > 0) { if (toAdd.length > 0) {
res.push(createPushCollaboratorsTx(control, objectId, objectClass, objectSpace, toAdd)) res.push(createPushCollaboratorsTx(control, objectId, objectClass, objectSpace, toAdd))
res.push(...(await pushCollaboratorsToPublicSpace(control, doc, toAdd, cache))) // res.push(...(await pushCollaboratorsToPublicSpace(control, doc, toAdd, cache)))
} }
if (removedCollaborators.length > 0) { if (removedCollaborators.length > 0) {