mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 19:11:33 +03:00
Do not remove notifications on unsubscribe (#5466)
Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
parent
33eef25863
commit
eb2daac725
@ -257,7 +257,6 @@ async function updateMeInCollaborators (
|
|||||||
export async function unsubscribe (object: DocNotifyContext): Promise<void> {
|
export async function unsubscribe (object: DocNotifyContext): Promise<void> {
|
||||||
const client = getClient()
|
const client = getClient()
|
||||||
await updateMeInCollaborators(client, object.attachedToClass, object.attachedTo, OpWithMe.Remove)
|
await updateMeInCollaborators(client, object.attachedToClass, object.attachedTo, OpWithMe.Remove)
|
||||||
await client.remove(object)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user