Skip to content

Commit 72def94

Browse files
committed
Revert "After reaction & before popup, delete meme if it wasn't liked (#77)"
This reverts commit 743ef9b.
1 parent 4137eba commit 72def94

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/tgbot/senders/next_message.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,6 @@ async def next_message(
7272

7373
popup = await get_popup_to_send(user_id, user_info)
7474
if popup:
75-
# if negative reaction, delete last message before sending popup
76-
if prev_reaction_id is None or Reaction(prev_reaction_id).is_positive:
77-
await bot.delete_message(
78-
chat_id=user_id,
79-
message_id=prev_update.callback_query.message.message_id,
80-
)
8175
return await send_popup(user_id, popup)
8276

8377
meme = await get_next_meme_for_user(user_id)

0 commit comments

Comments
 (0)