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