From e347c8a1cefa728a09fd6dd88fe191ff4d221a77 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Mon, 29 May 2023 12:17:01 +0600 Subject: [PATCH] Notification fix (#3274) Signed-off-by: Denis Bykhov --- server-plugins/notification-resources/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/server-plugins/notification-resources/src/index.ts b/server-plugins/notification-resources/src/index.ts index b547c885d3..3567640f87 100644 --- a/server-plugins/notification-resources/src/index.ts +++ b/server-plugins/notification-resources/src/index.ts @@ -601,6 +601,7 @@ async function updateCollaboratorsMixin ( originTx: TxCUD ): Promise { if (tx._class !== core.class.TxMixin) return [] + if (originTx.space === core.space.DerivedTx) return [] if (!control.hierarchy.isDerived(tx.mixin, notification.mixin.Collaborators)) return [] const res: Tx[] = [] if (tx.attributes.collaborators !== undefined) {