2020-06-04 13:38:45 +02:00
|
|
|
# End to end encryption by default
|
2020-06-03 23:09:56 +02:00
|
|
|
|
|
|
|
By default, Riot will create encrypted DM rooms if the user you are chatting with has keys uploaded on their account.
|
2020-06-04 13:38:45 +02:00
|
|
|
For private room creation, Riot will default to encryption on but give you the choice to opt-out.
|
2020-06-03 23:09:56 +02:00
|
|
|
|
|
|
|
## Disabling encryption by default
|
|
|
|
|
|
|
|
Set the following on your homeserver's
|
|
|
|
`/.well-known/matrix/client` config:
|
|
|
|
```json
|
|
|
|
{
|
|
|
|
"im.vector.riot.e2ee": {
|
|
|
|
"default": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|