Encrypt for invited users by default, if the room state allows it (#803)

This commit is contained in:
Benoit Marty 2020-02-04 14:41:32 +01:00
parent 3e9b2e4a06
commit bd033866a8
2 changed files with 4 additions and 3 deletions

View file

@ -12,6 +12,7 @@ Other changes:
Bugfix 🐛: Bugfix 🐛:
- Ask for permission before opening the camera (#934) - Ask for permission before opening the camera (#934)
- Encrypt for invited users by default, if the room state allows it (#803)
Translations 🗣: Translations 🗣:
- -

View file

@ -21,7 +21,7 @@ package im.vector.matrix.android.internal.crypto
*/ */
data class MXCryptoConfig( data class MXCryptoConfig(
// Tell whether the encryption of the event content is enabled for the invited members. // Tell whether the encryption of the event content is enabled for the invited members.
// By default, we encrypt messages only for the joined members. // SDK clients can disable this by settings it to false.
// The encryption for the invited members will be blocked if the history visibility is "joined". // Note that the encryption for the invited members will be blocked if the history visibility is "joined".
var enableEncryptionForInvitedMembers: Boolean = false var enableEncryptionForInvitedMembers: Boolean = true
) )