Skip to content

Commit

Permalink
feat: reset user cd manually
Browse files Browse the repository at this point in the history
  • Loading branch information
krau committed Nov 4, 2023
1 parent 4b4588c commit 73e7585
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kmua/callbacks/userdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ async def user_data_refresh(update: Update, context: ContextTypes.DEFAULT_TYPE):
user_id=user.id,
)
await query.answer("刷新中...")
context.application.drop_user_data(user.id)
username = user.username
full_name = user.full_name
avatar_big_blog = await common.download_big_avatar(user.id, context)
Expand Down

0 comments on commit 73e7585

Please sign in to comment.