You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I copied the telegram app_id and api_hash directly to this, without worrying about quoting. Ansible wrote wrote it literally to /matrix/mautrix-telegram/config/config.yaml (without quotes). The Python YAML parser, later, fails to parse this file or parses it incorrectly because of lacking of double quotes (single quotes doesn't seem to work) and the mautrix-telegram bridge fails with api_id/api_hash mismatch error.
I'm not an Ansible specialist, so I don't know if surrounding the app_id and api_hash with double quotes results in the api_id and api_hash being written with double quotes in config.yaml (or if they are lost on the expansion rules), but maybe it is a good idea to be more strict about quoting when setting the matrix_mautrix_telegram_api* variables.
The text was updated successfully, but these errors were encountered:
Hi. First, thanks for the great work on this playbook!
The mautrix telegram bridge documentation states:
I copied the telegram app_id and api_hash directly to this, without worrying about quoting. Ansible wrote wrote it literally to
/matrix/mautrix-telegram/config/config.yaml
(without quotes). The Python YAML parser, later, fails to parse this file or parses it incorrectly because of lacking of double quotes (single quotes doesn't seem to work) and the mautrix-telegram bridge fails with api_id/api_hash mismatch error.I'm not an Ansible specialist, so I don't know if surrounding the app_id and api_hash with double quotes results in the api_id and api_hash being written with double quotes in config.yaml (or if they are lost on the expansion rules), but maybe it is a good idea to be more strict about quoting when setting the matrix_mautrix_telegram_api* variables.
The text was updated successfully, but these errors were encountered: