Updated Readme.md for 3PID replacement option

This commit is contained in:
PeerD
2019-02-21 17:02:07 +01:00
committed by GitHub
parent 25ebf58b7f
commit d21a5534d6

View File

@@ -87,14 +87,16 @@ If you would like to change the behaviour, you can use the following configurati
``` ```
3PIDs received from the backend are merged with the ones already linked to the account. 3PIDs received from the backend are merged with the ones already linked to the account.
If you would like to change this behaviour, you can use the following configuration item: If you would like to change this behaviour, you can use the following configuration items:
```yaml ```yaml
config: config:
policy: policy:
all: all:
threepid: threepid:
update: false update: false
replace: false
``` ```
If update is set to `false`, the 3PIDs will not be changed at all. If replace is set to `true`, all 3PIDs not available in the backend anymore will be deleted from synapse.
## Integrate ## Integrate
To use this module with your back-end, you will need to implement a single REST endpoint: To use this module with your back-end, you will need to implement a single REST endpoint: