Skip to content

Commit a4e8291

Browse files
committed
Update ChatJoinRequest Timeout to Allowed Timeframe
1 parent 9bd56ea commit a4e8291

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/joinrequests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ async def join_request_callback(update: Update, context: ContextTypes.DEFAULT_TY
106106

107107
cast(JobQueue, context.job_queue).run_once(
108108
callback=join_request_timeout_job,
109-
when=datetime.timedelta(hours=2),
109+
when=datetime.timedelta(minutes=4, seconds=30),
110110
data=(user, message, group_mention),
111111
name=f"JOIN_TIMEOUT {chat_id} {user.id}",
112112
user_id=user.id,

0 commit comments

Comments
 (0)