Remove |to_json causing trouble

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.
This commit is contained in:
Slavi Pantaleev
2021-01-27 15:48:35 +02:00
parent f6097fbba1
commit e3290d8bcb
4 changed files with 4 additions and 4 deletions

View File

@ -117,7 +117,7 @@ matrix_mautrix_telegram_registration_yaml: |
- exclusive: true
regex: '^#telegram_.+:{{ matrix_mautrix_telegram_homeserver_domain|regex_escape }}$'
# See https://github.com/tulir/mautrix-signal/issues/43
sender_localpart: _bot_{{ matrix_mautrix_telegram_appservice_bot_username|to_json }}
sender_localpart: _bot_{{ matrix_mautrix_telegram_appservice_bot_username }}
sender_localpart: telegrambot
rate_limited: false