add identity lookup query and hashing to ma1sd

This commit is contained in:
teutat3s 2020-04-04 02:22:04 +02:00
parent cf386f2fb8
commit be5d43f949
Signed by: teutat3s
GPG key ID: 18DAE600A6BBE705

View file

@ -158,6 +158,18 @@ matrix_ma1sd_configuration_yaml: |
enabled: {{ matrix_ma1sd_synapsesql_enabled }} enabled: {{ matrix_ma1sd_synapsesql_enabled }}
type: {{ matrix_ma1sd_synapsesql_type }} type: {{ matrix_ma1sd_synapsesql_type }}
connection: {{ matrix_ma1sd_synapsesql_connection }} connection: {{ matrix_ma1sd_synapsesql_connection }}
lookup:
query: "SELECT user_id AS mxid, medium, address from user_threepid_id_server"
hashing:
enabled: true
pepperLength: 20
rotationPolicy: per_requests
hashStorageType: sql
algorithms:
- sha256
delay: 2m
requests: 10
matrix_ma1sd_configuration_extension_yaml: | matrix_ma1sd_configuration_extension_yaml: |
# Your custom YAML configuration for ma1sd goes here. # Your custom YAML configuration for ma1sd goes here.