Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The scan event only occurs after the user scans #5

Closed
lyleshaw opened this issue Aug 5, 2021 · 2 comments · Fixed by #4
Closed

The scan event only occurs after the user scans #5

lyleshaw opened this issue Aug 5, 2021 · 2 comments · Fixed by #4
Labels
bug Something isn't working

Comments

@lyleshaw
Copy link
Member

lyleshaw commented Aug 5, 2021

Before:
image
After:
image

@lyleshaw lyleshaw added the bug Something isn't working label Aug 5, 2021
@lyleshaw lyleshaw pinned this issue Aug 5, 2021
@lyleshaw lyleshaw unpinned this issue Aug 5, 2021
@lyleshaw lyleshaw linked a pull request Aug 5, 2021 that will close this issue
@wj-Mcat
Copy link
Collaborator

wj-Mcat commented Aug 5, 2021

Great, it's a huge step for python-wechaty-puppet-itchat. Please go ahead.

@lyleshaw
Copy link
Member Author

It seems that all the emit event will occurs after the itchat fuction has done.
eg:

  1. scan event occurs after itchat::login::login function.
  2. massage event occurs after itchat::login::start_receiving::exitCallback function has been called.
    image

Those problems will make the on_scan and on_massage function (which in Wechaty) invalidated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants