2022-01-03 21:22:42 +01:00
#jinja2: lstrip_blocks: "True"
id: matrix-hookshot # This can be anything, but must be unique within your homeserver
2022-01-30 17:44:22 +01: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 21:22:42 +01:00
namespaces:
rooms: []
users:
2022-02-13 17:23:57 +01:00
{% if matrix_hookshot_github_enabled %}
2022-01-03 21:22:42 +01:00
- regex: "@_github_.*:{{ matrix_domain }}"
exclusive: true
2022-02-13 17:23:57 +01: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 13:25:51 +01:00
- regex: "@{{ matrix_hookshot_generic_userIdPrefix }}.*:{{ matrix_domain }}" # Where foobar is your homeserver's domain // depending on userIdPrefix setting in conf
2022-02-13 17:23:57 +01:00
exclusive: true
{% endif %}
2022-01-03 21:22:42 +01:00
aliases:
- regex: "#github_.+:{{ matrix_domain }}"
exclusive: true
sender_localpart: hookshot
2022-01-08 16:51:52 +01:00
url: "http://{{ matrix_hookshot_container_url }}:{{ matrix_hookshot_appservice_port }}" # This should match the bridge.port in your config file
2022-01-03 21:22:42 +01:00
rate_limited: false
2023-12-16 08:23:35 +01:00
2024-11-29 16:51:11 +01:00
{% if matrix_hookshot_encryption_enabled %}
2023-12-16 08:23:35 +01:00
de.sorunome.msc2409.push_ephemeral: true
push_ephemeral: true
org.matrix.msc3202: true
2024-11-29 16:51:11 +01:00
org.matrix.msc3202: true
2023-12-16 08:23:35 +01:00
{% endif %}