From a8dd23c80ffad7058c1a9624b56b9792e5936c77 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Wed, 8 Jan 2025 14:27:00 +0100 Subject: [PATCH] - Add commercial license - Remove generic type --- res/css/views/settings/encryption/_AdvancedPanel.pcss | 2 +- res/css/views/settings/encryption/_ResetIdentityPanel.pcss | 2 +- src/components/views/settings/encryption/AdvancedPanel.tsx | 4 ++-- .../views/settings/encryption/ResetIdentityPanel.tsx | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/res/css/views/settings/encryption/_AdvancedPanel.pcss b/res/css/views/settings/encryption/_AdvancedPanel.pcss index d99afe016a1..5202b46ae17 100644 --- a/res/css/views/settings/encryption/_AdvancedPanel.pcss +++ b/res/css/views/settings/encryption/_AdvancedPanel.pcss @@ -1,7 +1,7 @@ /* * Copyright 2024 New Vector Ltd. * - * SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only + * SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial * Please see LICENSE files in the repository root for full details. */ diff --git a/res/css/views/settings/encryption/_ResetIdentityPanel.pcss b/res/css/views/settings/encryption/_ResetIdentityPanel.pcss index b09d4f420cc..3c382990a27 100644 --- a/res/css/views/settings/encryption/_ResetIdentityPanel.pcss +++ b/res/css/views/settings/encryption/_ResetIdentityPanel.pcss @@ -1,7 +1,7 @@ /* * Copyright 2024 New Vector Ltd. * - * SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only + * SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial * Please see LICENSE files in the repository root for full details. */ diff --git a/src/components/views/settings/encryption/AdvancedPanel.tsx b/src/components/views/settings/encryption/AdvancedPanel.tsx index 8480db4d66b..6e23c764782 100644 --- a/src/components/views/settings/encryption/AdvancedPanel.tsx +++ b/src/components/views/settings/encryption/AdvancedPanel.tsx @@ -1,7 +1,7 @@ /* * Copyright 2024 New Vector Ltd. * - * SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only + * SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial * Please see LICENSE files in the repository root for full details. */ @@ -118,7 +118,7 @@ function EncryptionDetails({ onResetIdentityClick }: EncryptionDetails): JSX.Ele * Display the never send encrypted message to unverified devices setting. */ function OtherSettings(): JSX.Element | null { - const blacklistUnverifiedDevices = useSettingValueAt(SettingLevel.DEVICE, "blacklistUnverifiedDevices"); + const blacklistUnverifiedDevices = useSettingValueAt(SettingLevel.DEVICE, "blacklistUnverifiedDevices"); const canSetValue = SettingsStore.canSetValue("blacklistUnverifiedDevices", null, SettingLevel.DEVICE); if (!canSetValue) return null; diff --git a/src/components/views/settings/encryption/ResetIdentityPanel.tsx b/src/components/views/settings/encryption/ResetIdentityPanel.tsx index 9c22f4ab585..8489f3d3db5 100644 --- a/src/components/views/settings/encryption/ResetIdentityPanel.tsx +++ b/src/components/views/settings/encryption/ResetIdentityPanel.tsx @@ -1,7 +1,7 @@ /* * Copyright 2024 New Vector Ltd. * - * SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only + * SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial * Please see LICENSE files in the repository root for full details. */