Merge pull request #1358 from vector-im/SimonBrandner/feat/e2ee-on
This commit is contained in:
@@ -92,7 +92,7 @@ export const useOptInAnalytics = (): DisableableSetting<boolean | null> => {
|
|||||||
export const useEnableE2EE = (): DisableableSetting<boolean | null> => {
|
export const useEnableE2EE = (): DisableableSetting<boolean | null> => {
|
||||||
const settingVal = useSetting<boolean | null>(
|
const settingVal = useSetting<boolean | null>(
|
||||||
"enable-end-to-end-encryption",
|
"enable-end-to-end-encryption",
|
||||||
false
|
true
|
||||||
);
|
);
|
||||||
if (isE2EESupported()) return settingVal;
|
if (isE2EESupported()) return settingVal;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user