[check] some fixes

This commit is contained in:
levina 2022-02-24 17:03:05 +07:00 committed by GitHub
parent 50747f1e32
commit 1ae8bc4c22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -447,6 +447,8 @@ async def vstream(c: Client, m: Message):
)
await user.join_chat(invitelink)
await remove_active_chat(chat_id)
except UserAlreadyParticipant:
pass
except UserNotParticipant:
try:
invitelink = (await c.get_chat(chat_id)).invite_link