4
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2026-05-23 14:28:02 +00:00

Make sure network.api_id is provided as an integer to mautrix-telegram

Otherwise "login phone" results in: "Failed to submit input: send code: rpc error code 400: API_ID_INVALID"
This commit is contained in:
Slavi Pantaleev
2026-05-22 22:55:15 +03:00
parent 45fad3bd64
commit 05ac6d7a3b

View File

@@ -2,7 +2,7 @@
# Network-specific config options
network:
# Get your own API keys at https://my.telegram.org/apps
api_id: {{ matrix_mautrix_telegram_api_id | to_json }}
api_id: {{ matrix_mautrix_telegram_api_id | int | to_json }}
api_hash: {{ matrix_mautrix_telegram_api_hash | to_json }}
# Device info shown in the Telegram device list.