From 66a1ea17ab8255d5637d0f9350bd071dda1a2264 Mon Sep 17 00:00:00 2001 From: profitroll Date: Mon, 23 Jan 2023 15:12:29 +0100 Subject: [PATCH] This commit is closing #20 --- modules/commands/reapply.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/reapply.py b/modules/commands/reapply.py index da3ee52..c2722fc 100644 --- a/modules/commands/reapply.py +++ b/modules/commands/reapply.py @@ -29,7 +29,7 @@ async def cmd_reapply(app: Client, msg: Message): if left_chat is True: - if (holo_user.application_state()[1] is True and holo_user.application_state()[0] != "fill"): + if (holo_user.application_state()[1] is True and holo_user.application_state()[0] not in ["fill", "rejected"]): await msg.reply_text(locale("reapply_left_chat", "message", locale=holo_user), reply_markup=InlineKeyboardMarkup([ [