Crypto: Enable e2e by default

Once enabled, it is still not possible to disable it but do some cleaning in case of disabling in case we change our mind on this button.
This commit is contained in:
manuroe
2016-11-16 13:52:38 +01:00
parent 6000916cfa
commit 53221bffd4
@@ -1461,7 +1461,7 @@ typedef void (^blockSettingsViewController_onReadyToDestroy)();
// This means that the user will need to log in again if he wants to re-enable e2e.
if (!switchButton.isOn)
{
//[account resetDeviceId];
[account resetDeviceId];
}
// Reload all data source of encrypted rooms