From 994f6955c8b241d9e0cfa22cd81af5cadd7a14c5 Mon Sep 17 00:00:00 2001 From: namita-uttarkar-telus <121433544+namita-uttarkar-telus@users.noreply.github.com> Date: Tue, 19 Dec 2023 14:28:08 +0530 Subject: [PATCH] PREAPPS-7359: Disable Mail recall option When recalling a message with users outside the user's domain (#189) - Linking constants from zm-x-web to zm-modern-zimlets --- build-shims.js | 4 +++- src/shims/@zimbra-client/constants/index.js | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/build-shims.js b/build-shims.js index 8b47a78..d9770c0 100644 --- a/build-shims.js +++ b/build-shims.js @@ -108,7 +108,9 @@ mockery.registerMock('@zimbra-client/constants', { PARTICIPATION_STATUS: 1, supportedMimes: 1, ZIMBRA_ZIMLET_EVENTS: 1, - EMAIL_SEPARATOR_TAG_ID: 1 + EMAIL_SEPARATOR_TAG_ID: 1, + USER_FOLDER_IDS: 1, + FLAGS: 1 }); mockery.registerMock('@zimbra-client/hooks', { diff --git a/src/shims/@zimbra-client/constants/index.js b/src/shims/@zimbra-client/constants/index.js index 8e43821..ec18a61 100644 --- a/src/shims/@zimbra-client/constants/index.js +++ b/src/shims/@zimbra-client/constants/index.js @@ -12,5 +12,7 @@ export const PARTICIPATION_STATUS = wrap('PARTICIPATION_STATUS'); export const supportedMimes = wrap('supportedMimes'); export const ZIMBRA_ZIMLET_EVENTS = wrap('ZIMBRA_ZIMLET_EVENTS'); export const EMAIL_SEPARATOR_TAG_ID = wrap('EMAIL_SEPARATOR_TAG_ID'); +export const USER_FOLDER_IDS = wrap('USER_FOLDER_IDS'); +export const FLAGS = wrap('FLAGS'); export default global.shims['@zimbra-client/constants'];