瀏覽代碼

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 3 月之前
父節點
當前提交
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.


Loading…
取消
儲存