wechaty/puppet-wechat

after send image, WARN PuppetLoginMixin logonoff() is deprecated, use `isLoggedIn`

goldcome opened this issue · 7 comments

it also work ,but there is some errs
微信截图_20211120111937

huan commented

I believe the error message is clear enough:

replace all the occurrence of selfId() in your source code by currentUserId because the selfId() has been deprecated.

there is no selfID in my code,the code is in wechaty-puppet-wechat project,version:

"wechaty": "^1.0.6",
"wechaty-puppet-wechat": "^1.0.1"
huan commented

Yes you are right, after inspecting the code, there have been some selfId() calls in the puppet wechat package.

This problem should have been fixed by the latest commit, and please try wechaty-puppet-wechat@1.7.1 to see if it resolve the problem, and feel free to let me know the result.

thank you, but there is some problems with npm install

npm ERR! notarget No matching version found for wechaty-puppet-wechat@1.7.1.

Have you published to npm?

huan commented

The v1.7.1 has failed to publish due to some unit tests have not passed.

Please wait for the v1.7.2 to be published, you can see the result from the GitHub Actions at here

@huan it works without problem. thank you!

huan commented

You are welcome.

Please help us to close this issue if you have no future questions.