mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-02 13:19:45 +00:00
QFIX collaborators
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
b075ab1ec3
commit
005c996433
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user