merge pull request #3 from DoellBarr/patch-2

fixes
This commit is contained in:
levina 2021-09-13 07:15:23 +07:00 committed by GitHub
commit 365ce33725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -176,7 +176,7 @@ async def stopvideo(client, m: Message):
except Exception as e: except Exception as e:
await m.reply(f"🚫 **error** | `{e}`") await m.reply(f"🚫 **error** | `{e}`")
@call_py.on_stream_end @call_py.on_stream_end()
async def handler(client: PyTgCalls, update: Update): async def handler(client: PyTgCalls, update: Update):
chat_id = update.chat.id chat_id = update.chat.id
await leave_call(chat_id) await leave_call(chat_id)