瀏覽代碼

Add documentation for using the relaybot with mautrix whatsapp

pull/2381/head
James Collier 3 年之前
父節點
當前提交
e0ba087daf
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: CFC9885797777FFA
共有 1 個檔案被更改,包括 13 行新增0 行删除
  1. +13
    -0
      docs/configuring-playbook-bridge-mautrix-whatsapp.md

+ 13
- 0
docs/configuring-playbook-bridge-mautrix-whatsapp.md 查看文件

@@ -11,6 +11,19 @@ matrix_mautrix_whatsapp_enabled: true
```
Whatsapp multidevice beta is required, now it is enough if Whatsapp is connected to the Internet every 2 weeks.

The relay bot functionality is off by default. If you would like to enable the relay bot, add the following to your `vars.yml` file:
```yaml
matrix_mautrix_whatsapp_relaybot_enabled: true
```

By default, only admins are allowed to set themselves as relay users. To allow anyone on your homeserver to set themselves as relay users add this to your `vars.yml` file:
```yaml
matrix_mautrix_whatsapp_relaybot_admin_only: false
```

If you want to activate the relay bot in a room, use `!whatsapp set-relay`.
Use `!whatsapp unset-relay` to deactivate.

## Enable backfilling history
This requires a server with MSC2716 support, which is currently an experimental feature in synapse.
Note that as of Synapse 1.46, there are still some bugs with the implementation, especially if using event persistence workers.


Loading…
取消
儲存