diff --git a/roles/custom/matrix-bridge-mautrix-discord/templates/config.yaml.j2 b/roles/custom/matrix-bridge-mautrix-discord/templates/config.yaml.j2 index c54201c9a..561a9c3c7 100644 --- a/roles/custom/matrix-bridge-mautrix-discord/templates/config.yaml.j2 +++ b/roles/custom/matrix-bridge-mautrix-discord/templates/config.yaml.j2 @@ -151,13 +151,13 @@ bridge: # Should custom mxc:// URIs be used instead of reuploading media? enabled: true # Pattern for normal message attachments. - attachments: mxc://discord-media.mau.dev/attachments|{{.ChannelID}}|{{.AttachmentID}}|{{.FileName}} + attachments: {% raw %}mxc://discord-media.mau.dev/attachments|{{.ChannelID}}|{{.AttachmentID}}|{{.FileName}}{% endraw %} # Pattern for custom emojis. - emojis: mxc://discord-media.mau.dev/emojis|{{.ID}}.{{.Ext}} + emojis: {% raw %}mxc://discord-media.mau.dev/emojis|{{.ID}}.{{.Ext}}{% endraw %} # Pattern for stickers. Note that animated lottie stickers will not be converted if this is enabled. - stickers: mxc://discord-media.mau.dev/stickers|{{.ID}}.{{.Ext}} + stickers: {% raw %}mxc://discord-media.mau.dev/stickers|{{.ID}}.{{.Ext}}{% endraw %} # Pattern for static user avatars. - avatars: mxc://discord-media.mau.dev/avatars|{{.UserID}}|{{.AvatarID}}.{{.Ext}} + avatars: {% raw %}mxc://discord-media.mau.dev/avatars|{{.UserID}}|{{.AvatarID}}.{{.Ext}}{% endraw %} # Settings for converting animated stickers. animated_sticker: # Format to which animated stickers should be converted.