Просмотр исходного кода

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"
pull/5267/head
Slavi Pantaleev 17 часов назад
Родитель
Сommit
05ac6d7a3b
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      roles/custom/matrix-bridge-mautrix-telegram/templates/config.yaml.j2

+ 1
- 1
roles/custom/matrix-bridge-mautrix-telegram/templates/config.yaml.j2 Просмотреть файл

@@ -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.


Загрузка…
Отмена
Сохранить