Fix on_disconnect decorator not working by 01101sam · Pull Request #1134 · pyrogram/pyrogram · GitHub
Skip to content
This repository was archived by the owner on Dec 23, 2024. It is now read-only.

Fix on_disconnect decorator not working - #1134

Merged
delivrance merged 2 commits into
pyrogram:masterfrom
01101sam:patch-2
Nov 13, 2022
Merged

delivrance merged 2 commits into
pyrogram:masterfrom
01101sam:patch-2

Conversation

@01101sam

@01101sam 01101sam commented Nov 6, 2022

Copy link
Copy Markdown
Contributor

Believe or not, this is the only handler that's not working

@Client.on_disconnect()
async def disconnect(client: Client):
    pass

@01101sam

01101sam commented Nov 6, 2022

Copy link
Copy Markdown
Contributor Author

@delivrance
delivrance merged commit b423730 into pyrogram:master Nov 13, 2022
@delivrance

Copy link
Copy Markdown
Member

@01101sam
01101sam deleted the patch-2 branch November 13, 2022 15:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants