From 13a677dd3e80bab86f940aec27532e2586607171 Mon Sep 17 00:00:00 2001 From: Denis Bykhov Date: Wed, 11 Oct 2023 15:10:51 +0600 Subject: [PATCH] Fix disable integration notify (#3823) Signed-off-by: Denis Bykhov --- models/setting/src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/models/setting/src/index.ts b/models/setting/src/index.ts index b963088b7d..bee8c4b970 100644 --- a/models/setting/src/index.ts +++ b/models/setting/src/index.ts @@ -516,6 +516,9 @@ export function createModel (builder: Builder): void { group: setting.ids.SettingNotificationGroup, field: 'disabled', txClasses: [core.class.TxUpdateDoc], + txMatch: { + 'operations.disabled': true + }, objectClass: setting.class.Integration, allowedForAuthor: true, templates: {