One hecking line added
This commit is contained in:
parent
1ce47b0aaf
commit
7be7d5ac7b
@ -46,10 +46,11 @@ async def filter_join(app: Client, member: ChatMemberUpdated):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if await isAnAdmin(member.invite_link.creator.id):
|
if await isAnAdmin(member.invite_link.creator.id):
|
||||||
|
|
||||||
logWrite(f"User {holo_user.id} joined destination group with link {holo_user.link} of an admin {member.invite_link.creator.id}")
|
logWrite(f"User {holo_user.id} joined destination group with link {holo_user.link} of an admin {member.invite_link.creator.id}")
|
||||||
|
|
||||||
application = col_applications.find_one({"user": holo_user.id})
|
application = col_applications.find_one({"user": holo_user.id})
|
||||||
|
|
||||||
if application is None:
|
if application is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user