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

TypeError: request.setMentonalIdsList is not a function #92

Closed
huan opened this issue Sep 12, 2021 · 1 comment
Closed

TypeError: request.setMentonalIdsList is not a function #92

huan opened this issue Sep 12, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@huan
Copy link
Member

huan commented Sep 12, 2021

23:05:59 VERB PuppetService messageSend(18131996049@chatroom, Der! I just got online!
Friday.BOT v0.11.11)
23:05:59 VERB ContactSelf name()
23:05:59 VERB ContactSelf name()
23:05:59 INFO IoClient Friday BOT logged in
23:05:59 VERB Io send() without a connected websocket, eventBuffer.length = 1
23:05:59 VERB Room ready()
23:05:59 VERB Puppet roomPayload(24980472405@chatroom)
23:05:59 VERB PuppetService roomRawPayload(24980472405@chatroom)
23:05:59 VERB FlashStore get(24980472405@chatroom)
23:05:59 ERR Config ###########################
23:05:59 ERR Config unhandledRejection: TypeError: request.setMentonalIdsList is not a function
    at PuppetService.messageSendText (file:///home/friday/git/friday/node_modules/wechaty-puppet-service/dist/esm/src/client/puppet-service.js:547:21)
    at WechatifiedRoom.say (file:///home/friday/git/friday/node_modules/wechaty/dist/esm/src/user/room.js:402:47)
    at Wechaty.<anonymous> (file:///home/friday/git/friday/dist/src/friday/setup-finis.js:15:60)
    at Wechaty.emit (events.js:388:22)
    at Wechaty.emit (domain.js:470:12)
    at PuppetService.<anonymous> (file:///home/friday/git/friday/node_modules/wechaty/dist/esm/src/wechaty.js:295:34) [object Promise]
huan added a commit to wechaty/wechaty that referenced this issue Sep 12, 2021
@huan
Copy link
Member Author

huan commented Sep 12, 2021

We should be careful when working with gRPC definitions.

Though this name change (setMentonalIdsList -> setMentionalIdsList) will not affect the network communication (thanks gRPC!), however, it still affects our program if the version is a mismatch by mistake.

@huan huan closed this as completed Sep 12, 2021
@huan huan added the bug Something isn't working label Sep 12, 2021
huan added a commit that referenced this issue Sep 12, 2021
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

No branches or pull requests

1 participant