[check] some changes

This commit is contained in:
levina 2022-02-24 10:58:17 +07:00 committed by GitHub
parent ac8fdf9338
commit 9600f22159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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