瀏覽代碼

Mautrix telegram minimum config variable requirement

pull/2/head
Hugues Morisset 7 年之前
父節點
當前提交
6ef934a416
共有 2 個文件被更改,包括 8 次插入1 次删除
  1. +7
    -0
      docs/configuring-playbook-bridge-mautrix-telegram.md
  2. +1
    -1
      roles/matrix-server/tasks/setup_synapse_ext_mautrix_telegram.yml

+ 7
- 0
docs/configuring-playbook-bridge-mautrix-telegram.md 查看文件

@@ -3,3 +3,10 @@
The playbook can install and configure [mautrix-telegram](https://github.com/tulir/mautrix-telegram) for you.

See that project's [documentation](https://github.com/tulir/mautrix-telegram/wiki#usage) to learn what it does and why it might be useful to you.

You'll need to obtain API keys from `https://my.telegram.org/apps` and then use the following playbook configuration:
```
matrix_mautrix_telegram_enabled: true
matrix_mautrix_telegram_api_id: YOUR_TELEGRAM_APP_ID
matrix_mautrix_telegram_api_hash: YOUR_TELEGRAM_API_HASH
```

+ 1
- 1
roles/matrix-server/tasks/setup_synapse_ext_mautrix_telegram.yml 查看文件

@@ -63,6 +63,6 @@

- name: Ensure matrix-mautrix-telegram.service doesn't exist
file:
path: "{{ role_path }}/templates/systemd/matrix-mautrix-telegram.service"
path: "/etc/systemd/system/matrix-mautrix-telegram.service"
state: absent
when: "not matrix_mautrix_telegram_enabled"

Loading…
取消
儲存