mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2026-01-20 20:13:32 +03:00
Add support for Hookshot static connections (new in v7.3.0)
This adds the matrix_hookshot_connections variable for configuring static webhook connections via the config file. See: https://github.com/matrix-org/matrix-hookshot/pull/1102
This commit is contained in:
@@ -242,6 +242,18 @@ matrix_hookshot_widgets_branding_widgetTitle: "Hookshot Configuration" # noqa
|
||||
# level: admin
|
||||
matrix_hookshot_permissions: []
|
||||
|
||||
# Static connections that can be configured by an administrator, as documented here:
|
||||
# https://matrix-org.github.io/matrix-hookshot/latest/usage/static_connections.html
|
||||
# Currently only generic webhooks are supported.
|
||||
# Example:
|
||||
# matrix_hookshot_connections:
|
||||
# - connectionType: uk.half-shot.matrix-hookshot.generic.hook
|
||||
# stateKey: my-unique-webhook-id
|
||||
# roomId: "!room-id"
|
||||
# state:
|
||||
# name: My Static Webhook
|
||||
matrix_hookshot_connections: []
|
||||
|
||||
matrix_hookshot_bot_displayname: Hookshot Bot
|
||||
matrix_hookshot_bot_avatar: 'mxc://half-shot.uk/2876e89ccade4cb615e210c458e2a7a6883fe17d'
|
||||
|
||||
|
||||
@@ -137,6 +137,7 @@ widgets:
|
||||
{% if matrix_hookshot_permissions %}
|
||||
permissions: {{ matrix_hookshot_permissions | to_json }}
|
||||
{% endif %}
|
||||
connections: {{ matrix_hookshot_connections | to_json }}
|
||||
listeners:
|
||||
# (Optional) HTTP Listener configuration.
|
||||
# Bind resource endpoints to ports and addresses.
|
||||
|
||||
Reference in New Issue
Block a user