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 ✨: Features ✨:
- - Hide encrypted history (before user is invited). Can be shown if wanted in developer settings
Improvements 🙌: Improvements 🙌:
- Wording differentiation for direct rooms (#2176) - Wording differentiation for direct rooms (#2176)

View File

@ -286,7 +286,7 @@ class VectorPreferences @Inject constructor(private val context: Context) {
} }
fun labShowCompleteHistoryInEncryptedRoom(): Boolean { 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 { fun labAllowedExtendedLogging(): Boolean {