🐛 Fix qlogin command block

Signed-off-by: Karako <karakohear@gmail.com>
This commit is contained in:
Karako 2023-02-02 18:40:13 +08:00
parent e31d4bb48c
commit b5d5dcf735
No known key found for this signature in database
GPG Key ID: 5920831B0095D4A0

View File

@ -83,7 +83,7 @@ class SetUserCookies(Plugin.Conversation, BasePlugin.Conversation):
return CHECK_SERVER return CHECK_SERVER
@conversation.entry_point @conversation.entry_point
@handler.command("qlogin", filters=filters.ChatType.PRIVATE, block=True) @handler.command("qlogin", filters=filters.ChatType.PRIVATE, block=False)
@error_callable @error_callable
async def qrcode_login(self, update: Update, context: CallbackContext): async def qrcode_login(self, update: Update, context: CallbackContext):
user = update.effective_user user = update.effective_user