fix underscores in irc and nicks in telegram

This commit is contained in:
Ilya Ivanov 2021-01-21 06:36:19 +07:00
parent 3e173be720
commit 48e9be4db6

View File

@ -13,7 +13,7 @@ UseSASL=true
NickServNick="{{ mbridge_bot_nick }}" NickServNick="{{ mbridge_bot_nick }}"
NickServPassword="{{ mbridge_irc_bot_pass }}" NickServPassword="{{ mbridge_irc_bot_pass }}"
Label="{{ mbridge_irc_label }}" Label="{{ mbridge_irc_label }}"
StripMarkdown=true # StripMarkdown=true
## RELOADABLE SETTINGS ## RELOADABLE SETTINGS
## Settings below can be reloaded by editing the file ## Settings below can be reloaded by editing the file
@ -57,9 +57,9 @@ Label="{{ mbridge_discord_label }}"
#See https://core.telegram.org/bots#6-botfather #See https://core.telegram.org/bots#6-botfather
#and https://www.linkedin.com/pulse/telegram-bots-beginners-marco-frau #and https://www.linkedin.com/pulse/telegram-bots-beginners-marco-frau
Token="{{ mbridge_telegram_bot_token }}" Token="{{ mbridge_telegram_bot_token }}"
MessageFormat="MarkdownV2" MessageFormat="HTMLNick"
Label="{{ mbridge_telegram_label }}" Label="{{ mbridge_telegram_label }}"
RemoteNickFormat="\\[{LABEL}\\] \\<{NICK}\\> " RemoteNickFormat="[{LABEL}] &lt;{NICK}&gt; "
# [whatsapp.{{ mbridge_bridge_name }}] # [whatsapp.{{ mbridge_bridge_name }}]
# RemoteNickFormat="@{NICK}: " # RemoteNickFormat="@{NICK}: "