diff --git a/pollbot/telegram/callback_handler/settings.py b/pollbot/telegram/callback_handler/settings.py index f3c6f572..c4ba6ef8 100644 --- a/pollbot/telegram/callback_handler/settings.py +++ b/pollbot/telegram/callback_handler/settings.py @@ -96,7 +96,8 @@ def show_styling_menu(session, context, poll): context.query.message.edit_text( get_poll_text(session, context.poll), parse_mode='markdown', - reply_markup=get_styling_settings_keyboard(poll) + reply_markup=get_styling_settings_keyboard(poll), + disable_web_page_preview=True, ) diff --git a/pollbot/telegram/callback_handler/styling.py b/pollbot/telegram/callback_handler/styling.py index fce6440b..92ccc9e1 100644 --- a/pollbot/telegram/callback_handler/styling.py +++ b/pollbot/telegram/callback_handler/styling.py @@ -10,7 +10,8 @@ def send_styling_message(session, context): context.query.message.edit_text( text=get_poll_text(session, context.poll), parse_mode='markdown', - reply_markup=get_styling_settings_keyboard(context.poll) + reply_markup=get_styling_settings_keyboard(context.poll), + disable_web_page_preview=True, )