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