From eb2daac7253b604732db41bc05accce25f4790b7 Mon Sep 17 00:00:00 2001 From: Kristina Date: Thu, 25 Apr 2024 16:09:11 +0400 Subject: [PATCH] Do not remove notifications on unsubscribe (#5466) Signed-off-by: Kristina Fefelova --- plugins/notification-resources/src/utils.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/notification-resources/src/utils.ts b/plugins/notification-resources/src/utils.ts index 76f5055626..361d789121 100644 --- a/plugins/notification-resources/src/utils.ts +++ b/plugins/notification-resources/src/utils.ts @@ -257,7 +257,6 @@ async function updateMeInCollaborators ( export async function unsubscribe (object: DocNotifyContext): Promise { const client = getClient() await updateMeInCollaborators(client, object.attachedToClass, object.attachedTo, OpWithMe.Remove) - await client.remove(object) } /**