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

feature(itchat): add UOS weixin desktop patch #136

Merged
merged 2 commits into from
Jul 14, 2022
Merged

feature(itchat): add UOS weixin desktop patch #136

merged 2 commits into from
Jul 14, 2022

Commits on Jul 14, 2022

  1. feature(itchat): add UOS weixin desktop patch

    It turns out that `wechat-uos` provided by Tencent still uses the web
    interface, and someone finds the way to utilize the `wechat-uos` to
    login into the web for the ones who cannot login by web. This commit
    uses the information provided by the others. It does the three basic
    things:
    
    1. Change itchat `config.py` to add the corresponding version and
       `UOS_PATCH_EXTSPAM`.
    2. Change itchat `components/login.py` to add the latest weixin check,
       `skey` field and `pass_ticket` field.
    3. In order to get the message from weixin, eveytime the device ID
       should be changed, so this commit uses random string to generate
       the device ID.
    
    However, this patch doesn't work for WeChat users.
    shejialuo committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    1b74a16 View commit details
    Browse the repository at this point in the history
  2. Add PR branch name

    blueset committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    9eb84eb View commit details
    Browse the repository at this point in the history