Fix /performance output

if multiple messages are necessary

closes #4726
This commit is contained in:
Matthias 2021-04-13 19:20:57 +02:00
parent 521e48c94a
commit 82d66410f7

View File

@ -702,7 +702,7 @@ class Telegram(RPCHandler):
f"({trade['count']})</code>\n")
if len(output + stat_line) >= MAX_TELEGRAM_MESSAGE_LENGTH:
self._send_msg(output)
self._send_msg(output, parse_mode=ParseMode.HTML)
output = stat_line
else:
output += stat_line