From c064d7ab2f0db1d038daeb4f3aa72a825094d751 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Mon, 1 Apr 2019 14:13:43 +0300 Subject: [PATCH] fix --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index ba8248b..f374f7b 100755 --- a/main.py +++ b/main.py @@ -289,7 +289,8 @@ def _process_message(bot: Bot, m: Message): r = bot.send_venue(uid, l.latitude, l.longitude, v.title, v.address, v.foursquare_id, reply_to_message_id=reply_to_message_id) elif hasattr(m, 'text') and m.text: - r = bot.send_message(uid, text, 'html', reply_to_message_id=reply_to_message_id) + r = bot.send_message(uid, text, 'html', reply_to_message_id=reply_to_message_id, + disable_web_page_preview=True) if r: user.update_from_message(r) user.messages_forward[r.message_id] = conn.root.counter