2022-01-03 20:22:42 +00:00
#jinja2: lstrip_blocks: "True"
id: matrix-hookshot # This can be anything, but must be unique within your homeserver
2022-01-30 16:44:22 +00:00
as_token: {{ matrix_hookshot_appservice_token|to_json }} # This again can be a random string
hs_token: {{ matrix_hookshot_homeserver_token|to_json }} # ..as can this
2022-01-03 20:22:42 +00:00
namespaces:
rooms: []
users:
2022-02-13 16:23:57 +00:00
{% if matrix_hookshot_github_enabled %}
2022-01-03 20:22:42 +00:00
- regex: "@_github_.*:{{ matrix_domain }}"
exclusive: true
2022-02-13 16:23:57 +00:00
{% endif %}
{% if matrix_hookshot_gitlab_enabled %}
- regex: "@_gitlab_.*:{{ matrix_domain }}" # Where foobar is your homeserver's domain
exclusive: true
{% endif %}
{% if matrix_hookshot_jira_enabled %}
- regex: "@_jira_.*:{{ matrix_domain }}" # Where foobar is your homeserver's domain
exclusive: true
{% endif %}
{% if matrix_hookshot_generic_enabled %}
2022-11-30 12:25:51 +00:00
- regex: "@{{ matrix_hookshot_generic_userIdPrefix }}.*:{{ matrix_domain }}" # Where foobar is your homeserver's domain // depending on userIdPrefix setting in conf
2022-02-13 16:23:57 +00:00
exclusive: true
{% endif %}
2022-01-03 20:22:42 +00:00
aliases:
- regex: "#github_.+:{{ matrix_domain }}"
exclusive: true
sender_localpart: hookshot
2022-01-08 15:51:52 +00:00
url: "http://{{ matrix_hookshot_container_url }}:{{ matrix_hookshot_appservice_port }}" # This should match the bridge.port in your config file
2022-01-03 20:22:42 +00:00
rate_limited: false