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
2024-12-06 03:21:34 +00:00
sender_localpart: {{ matrix_hookshot_bot_localpart | to_json }}
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
2023-12-16 07:23:35 +00:00
2024-11-29 15:51:11 +00:00
{% if matrix_hookshot_encryption_enabled %}
2023-12-16 07:23:35 +00:00
de.sorunome.msc2409.push_ephemeral: true
push_ephemeral: true
org.matrix.msc3202: true
2024-11-29 15:51:11 +00:00
org.matrix.msc3202: true
2023-12-16 07:23:35 +00:00
{% endif %}