e3290d8bcb
Fixes a regression introduced in f6097fbba1
, which was cauing Synapse
to die with this error message:
> ValueError: sender_localpart needs characters which are not URL encoded.
18 lines
777 B
Django/Jinja
18 lines
777 B
Django/Jinja
#jinja2: lstrip_blocks: "True"
|
|
id: signal
|
|
as_token: "{{ matrix_mautrix_signal_appservice_token }}"
|
|
hs_token: "{{ matrix_mautrix_signal_homeserver_token }}"
|
|
namespaces:
|
|
users:
|
|
- exclusive: true
|
|
regex: '^@signal_.+:{{ matrix_mautrix_signal_homeserver_domain|regex_escape }}$'
|
|
- exclusive: true
|
|
regex: '^@{{ matrix_mautrix_signal_appservice_bot_username|regex_escape }}:{{ matrix_mautrix_signal_homeserver_domain|regex_escape }}$'
|
|
aliases:
|
|
- exclusive: true
|
|
regex: '^#signal_.+:{{ matrix_mautrix_signal_homeserver_domain|regex_escape }}$'
|
|
url: {{ matrix_mautrix_signal_appservice_address }}
|
|
# See https://github.com/tulir/mautrix-signal/issues/43
|
|
sender_localpart: _bot_{{ matrix_mautrix_signal_appservice_bot_username }}
|
|
rate_limited: false
|