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 🐛:
- Ask for permission before opening the camera (#934)
- Encrypt for invited users by default, if the room state allows it (#803)
Translations 🗣:
-

View file

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