浏览代码

Add comments around rtm

Comments taken from https://github.com/matrix-org/matrix-appservice-slack/blob/develop/config/config.sample.yaml

We should probably reconcile our configuration with that one and include comments for other fields as well.
pull/1774/head
Slavi Pantaleev 4 年前
committed by GitHub
父节点
当前提交
b2105f35ec
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 13 次插入1 次删除
  1. +13
    -1
      roles/matrix-bridge-appservice-slack/templates/config.yaml.j2

+ 13
- 1
roles/matrix-bridge-appservice-slack/templates/config.yaml.j2 查看文件

@@ -9,8 +9,20 @@ homeserver:
url: "{{ matrix_appservice_slack_homeserver_url }}"
media_url: "{{ matrix_appservice_slack_homeserver_media_url }}"

# Real Time Messaging API (RTM)
# Optional if slack_hook_port and inbound_uri_prefix are defined, required otherwise.
#
rtm:
enable: true
# Use the RTM API to listen for requests, which does not require
# the bridge to listen on the hook port.
# You should leave this enabled, unless you plan to use the
# bridge exclusively for webhooks.
#
enable: true

# Logging level specific to RTM traffic.
#
log_level: "silent"

{% if matrix_appservice_slack_database_engine == 'nedb' %}
dbdir: "/data"


正在加载...
取消
保存