mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-30 20:25:38 +00:00
QFIX collaborators
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
1489649e79
commit
c608dc5be0
@ -1385,7 +1385,7 @@ async function updateCollaboratorDoc (
|
||||
|
||||
if (collabsInfo.added.length > 0) {
|
||||
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) {
|
||||
@ -1603,7 +1603,7 @@ async function updateCollaborators (
|
||||
|
||||
if (toAdd.length > 0) {
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user