Fix escaping issues affecting the Whatsapp bridge
Regression introduced in 53186ffa1c
This commit is contained in:
parent
61e93744ec
commit
675aaa1215
|
@ -176,19 +176,19 @@ matrix_mautrix_whatsapp_configuration_yaml: |
|
||||||
# The management room for the bot. This is where all status notifications are posted and
|
# The management room for the bot. This is where all status notifications are posted and
|
||||||
# in this room, you can use `!wa <command>` instead of `!wa relaybot <command>`. Omitting
|
# in this room, you can use `!wa <command>` instead of `!wa relaybot <command>`. Omitting
|
||||||
# the command prefix completely like in user management rooms is not possible.
|
# the command prefix completely like in user management rooms is not possible.
|
||||||
management: !foo:example.com
|
management: '!foo:example.com'
|
||||||
# List of users to invite to all created rooms that include the relaybot.
|
# List of users to invite to all created rooms that include the relaybot.
|
||||||
invites: []
|
invites: []
|
||||||
# The formats to use when sending messages to WhatsApp via the relaybot.
|
# The formats to use when sending messages to WhatsApp via the relaybot.
|
||||||
message_formats:
|
message_formats:
|
||||||
m.text: "<b>{{ .Sender.Displayname }}</b>: {{ .Message }}"
|
m.text: "<b>{{ '{{ .Sender.Displayname }}' }}</b>: {{ '{{ .Message }}' }}"
|
||||||
m.notice: "<b>{{ .Sender.Displayname }}</b>: {{ .Message }}"
|
m.notice: "<b>{{ '{{ .Sender.Displayname }}' }}</b>:: {{ '{{ .Message }}' }}"
|
||||||
m.emote: "* <b>{{ .Sender.Displayname }}</b> {{ .Message }}"
|
m.emote: "* <b>{{ '{{ .Sender.Displayname }}' }}</b>: {{ '{{ .Message }}' }}"
|
||||||
m.file: "<b>{{ .Sender.Displayname }}</b> sent a file"
|
m.file: "<b>{{ '{{ .Sender.Displayname }}' }}</b>: sent a file"
|
||||||
m.image: "<b>{{ .Sender.Displayname }}</b> sent an image"
|
m.image: "<b>{{ '{{ .Sender.Displayname }}' }}</b>: sent an image"
|
||||||
m.audio: "<b>{{ .Sender.Displayname }}</b> sent an audio file"
|
m.audio: "<b>{{ '{{ .Sender.Displayname }}' }}</b>: sent an audio file"
|
||||||
m.video: "<b>{{ .Sender.Displayname }}</b> sent a video"
|
m.video: "<b>{{ '{{ .Sender.Displayname }}' }}</b>: sent a video"
|
||||||
m.location: "<b>{{ .Sender.Displayname }}</b> sent a location"
|
m.location: "<b>{{ '{{ .Sender.Displayname }}' }}</b>: sent a location"
|
||||||
# Logging config.
|
# Logging config.
|
||||||
logging:
|
logging:
|
||||||
# The directory for log files. Will be created if not found.
|
# The directory for log files. Will be created if not found.
|
||||||
|
|
Loading…
Reference in a new issue