Skip to content

Commit

Permalink
fix: preview feature, closes #133
Browse files Browse the repository at this point in the history
  • Loading branch information
Helias committed Nov 18, 2023
1 parent ffc34fa commit 41b33a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/handlers/spot.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def spot_preview_query(update: Update, context: CallbackContext) -> int:
"""
info = EventInfo.from_callback(update, context)
arg = info.query_data.split(",")[1]
info.user_data['preview'] = arg == "accept"
info.user_data['show_preview'] = arg == "accept"
info.bot.edit_message_text(chat_id=info.chat_id,
message_id=info.message_id,
text="Sei sicuro di voler pubblicare questo post?",
Expand Down

0 comments on commit 41b33a3

Please sign in to comment.