mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
Currently needs a hack in /var/lib/synapse/matrix-appservice-irc/node_modules/matrix-appservice-bridge/lib/components/media-proxy.js to replace the `"http"` require with `"https"` or the proxy won't work. See: https://github.com/matrix-org/matrix-appservice-bridge/issues/507
29 lines
848 B
Django/Jinja
29 lines
848 B
Django/Jinja
id: {{ vault_matrix_secrets.irc_appservice_id }}
|
|
hs_token: {{ vault_matrix_secrets.irc_hs_token }}
|
|
as_token: {{ vault_matrix_secrets.irc_as_token }}
|
|
namespaces:
|
|
|
|
users:
|
|
{% for network in vault_matrix_secrets.irc_networks %}
|
|
- exclusive: true
|
|
regex: '@{{ network.name | regex_escape() }}_.*:{{ matrix_server_name | regex_escape() }}'
|
|
{% endfor %}
|
|
|
|
aliases:
|
|
{% for network in vault_matrix_secrets.irc_networks %}
|
|
- exclusive: true
|
|
regex: '#{{ network.name | regex_escape() }}_.*:{{ matrix_server_name | regex_escape() }}'
|
|
{% endfor %}
|
|
|
|
rooms:
|
|
{% for room in vault_matrix_secrets | json_query("irc_networks[?!disabled].mappings[].room") %}
|
|
- exclusive: false
|
|
regex: '{{ room | regex_escape() }}'
|
|
{% endfor %}
|
|
|
|
url: 'http://127.0.0.1:8024'
|
|
sender_localpart: irc-bridge
|
|
rate_limited: false
|
|
|
|
# vim:set sw=2 sts=-1 et:
|