Changelog and small improvement

This commit is contained in:
Benoit Marty 2020-09-30 18:11:30 +02:00
parent f0272fd283
commit 881ebff015
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@ Changes in Element 1.0.9 (2020-XX-XX)
===================================================
Features ✨:
-
- Hide encrypted history (before user is invited). Can be shown if wanted in developer settings
Improvements 🙌:
- Wording differentiation for direct rooms (#2176)

View file

@ -286,7 +286,7 @@ class VectorPreferences @Inject constructor(private val context: Context) {
}
fun labShowCompleteHistoryInEncryptedRoom(): Boolean {
return defaultPrefs.getBoolean(SETTINGS_LABS_SHOW_COMPLETE_HISTORY_IN_ENCRYPTED_ROOM, false)
return developerMode() && defaultPrefs.getBoolean(SETTINGS_LABS_SHOW_COMPLETE_HISTORY_IN_ENCRYPTED_ROOM, false)
}
fun labAllowedExtendedLogging(): Boolean {