diff --git a/plugins/system/auth.py b/plugins/system/auth.py index 65377a01..cd93e2a8 100644 --- a/plugins/system/auth.py +++ b/plugins/system/auth.py @@ -282,9 +282,11 @@ class GroupJoiningVerification: context.job_queue.run_once(callback=self.clean_message_job, when=self.time_out, data=message.message_id, name=f"{chat.id}|{user.id}|auth_clean_join_message", chat_id=chat.id, user_id=user.id, - job_kwargs={"replace_existing": True, "id": f"{chat.id}|{user.id}|auth_kick"}) + job_kwargs={"replace_existing": True, + "id": f"{chat.id}|{user.id}|auth_clean_join_message"}) context.job_queue.run_once(callback=self.clean_message_job, when=self.time_out, data=question_message.message_id, name=f"{chat.id}|{user.id}|auth_clean_question_message", chat_id=chat.id, user_id=user.id, - job_kwargs={"replace_existing": True, "id": f"{chat.id}|{user.id}|auth_kick"}) + job_kwargs={"replace_existing": True, + "id": f"{chat.id}|{user.id}|auth_clean_join_message"})