Add advanced option to keep secret storage in memory for session

This adds a default-off option to keep the secret storage passphrase cached in
memory for the current session to avoid death by prompts.
This commit is contained in:
J. Ryan Stinnett 2020-01-30 14:18:12 +00:00
parent 767015d19d
commit 788cb24093
4 changed files with 23 additions and 6 deletions

View file

@ -485,4 +485,9 @@ export const SETTINGS = {
displayName: _td("Enable message search in encrypted rooms"),
default: true,
},
"keepSecretStoragePassphraseForSession": {
supportedLevels: LEVELS_DEVICE_ONLY_SETTINGS,
displayName: _td("Keep secret storage passphrase in memory for this session"),
default: false,
},
};