diff --git a/patches/patches.json b/patches/patches.json index c037753f85..67bbe4ec1d 100644 --- a/patches/patches.json +++ b/patches/patches.json @@ -124,12 +124,6 @@ "src/components/views/rooms/DecryptionFailureBar.tsx" ] }, - "temp-settings-remove-enable-email-notifications-option": { - "comments": "Notifications by email is currently not activated on Tchap backend. So we must remove this option.", - "github-issue": "https://github.com/tchapgouv/tchap-web-v4/issues/405", - "package": "matrix-react-sdk", - "files": ["src/components/views/settings/Notifications.tsx"] - }, "in-invite-dialog-add-text-indicating-that-we-can-invite-multiple-people": { "github-issue": "https://github.com/tchapgouv/tchap-web-v4/issues/342", "package": "matrix-react-sdk", diff --git a/patches/temp-settings-remove-enable-email-notifications-option/matrix-react-sdk+3.71.1.patch b/patches/temp-settings-remove-enable-email-notifications-option/matrix-react-sdk+3.71.1.patch deleted file mode 100644 index 6aad49b5df..0000000000 --- a/patches/temp-settings-remove-enable-email-notifications-option/matrix-react-sdk+3.71.1.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff --git a/node_modules/matrix-react-sdk/src/components/views/settings/Notifications.tsx b/node_modules/matrix-react-sdk/src/components/views/settings/Notifications.tsx -index 3e833b3..1304681 100644 ---- a/node_modules/matrix-react-sdk/src/components/views/settings/Notifications.tsx -+++ b/node_modules/matrix-react-sdk/src/components/views/settings/Notifications.tsx -@@ -653,6 +653,7 @@ export default class Notifications extends React.PureComponent { - return masterSwitch; - } - -+ /* :TCHAP disable for now - const emailSwitches = (this.state.threepids || []) - .filter((t) => t.medium === ThreepidMedium.Email) - .map((e) => ( -@@ -665,6 +666,7 @@ export default class Notifications extends React.PureComponent { - disabled={this.state.phase === Phase.Persisting} - /> - )); -+ :tchap end */ - - return ( - <> -@@ -704,7 +706,9 @@ export default class Notifications extends React.PureComponent { - - )} - -- {emailSwitches} -+ {/* :TCHAP disable for now -+ emailSwitches -+ :tchap end */} - - ); - }