Skip to content

Commit

Permalink
fix: debug toggle block
Browse files Browse the repository at this point in the history
  • Loading branch information
i007c committed Jun 5, 2023
1 parent 496738f commit 01534e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bchat/modules/user/block.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
async def toggle_user_block(update: Update, ctx: Ctx, state: UserModel):
await update.callback_query.answer()
msg = update.effective_message
if not msg.reply_markup:
return
keyboard = msg.reply_markup.inline_keyboard
new_keyboard = []

Expand Down

0 comments on commit 01534e9

Please sign in to comment.