Add on/off switch for 3PID in directory lookups

This commit is contained in:
Max Dor
2018-08-15 11:25:41 +02:00
parent 1ab8a27fda
commit feb37112b2
3 changed files with 35 additions and 5 deletions

View File

@@ -140,3 +140,10 @@ To disable Homeserver results, set the following in mxisd configuration file:
```yaml
directory.exclude.homeserver: true
```
### 3PID exclusion in search
You can configure if the 3PID should also be included when doing a directory search.
By default, a search is performed on the 3PIDs. If you would like to not include them:
```yaml
directory.exclude.threepid: true
```