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

Add new/modified chat report to EWS #109

Open
blueset opened this issue Sep 15, 2020 · 0 comments
Open

Add new/modified chat report to EWS #109

blueset opened this issue Sep 15, 2020 · 0 comments

Comments

@blueset
Copy link
Member

blueset commented Sep 15, 2020

Through observation of source code of itchat, it seems like Web WC has a mechanism of reporting new/updated chat items. Relevant logic can be found here: https://github.com/blueset/efb-wechat-slave/blob/74b7bd0cf4eab190a0637a496c56849c80c8ecb7/efb_wechat_slave/vendor/itchat/components/login.py#L268-L278

However, seeing the logic is buried deep up the dependency tree, it is hard to expose an interface all the way through to EWS. As this might result in a significant amount of change to these code, I’m considering this as a part of the async support for EFB 3 (that may or may not come in the future). If you have any better idea on this, do not hesitate letting us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant