Fix /performance output
if multiple messages are necessary closes #4726
This commit is contained in:
parent
521e48c94a
commit
82d66410f7
@ -702,7 +702,7 @@ class Telegram(RPCHandler):
|
|||||||
f"({trade['count']})</code>\n")
|
f"({trade['count']})</code>\n")
|
||||||
|
|
||||||
if len(output + stat_line) >= MAX_TELEGRAM_MESSAGE_LENGTH:
|
if len(output + stat_line) >= MAX_TELEGRAM_MESSAGE_LENGTH:
|
||||||
self._send_msg(output)
|
self._send_msg(output, parse_mode=ParseMode.HTML)
|
||||||
output = stat_line
|
output = stat_line
|
||||||
else:
|
else:
|
||||||
output += stat_line
|
output += stat_line
|
||||||
|
Loading…
Reference in New Issue
Block a user