Replace 3 dots with ellipsis to save space

master
git-sid 2019-01-07 19:00:51 +01:00
parent 96b4975b1f
commit fe5c24d7fa
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class TelegramBot(Bot):
tb = Telegram(user.get_telegram_credentials())
text = report.text
if len(text) > 4096:
text = text[:4096 - 4] + u' ...'
text = text[:4096 - 2] + " \N{Horizontal ellipsis}"
try:
for subscriber_id in user.get_telegram_subscribers():
tb.send_message(subscriber_id, text).wait()