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

friendship cannot accept friend request automatically #1322

Closed
lijiarui opened this issue Jun 13, 2018 · 1 comment
Closed

friendship cannot accept friend request automatically #1322

lijiarui opened this issue Jun 13, 2018 · 1 comment

Comments

@lijiarui
Copy link
Member

Wechaty version: 0.15.150

run:

 WECHATY_PUPPET=padchat WECHATY_PUPPET_PADCHAT_TOKEN='padchat-token' WECHATY_LOG=silly ts-node examples/friend-bot.ts  | tee log

cannot accept friend request automatically, log as follows:

19:22:04 SILL PuppetPadchatManager contactRawPayload(newsapp)
19:22:04 SILL PuppetPadchatManager contactRawPayload(qq512436430) retry() attempt=1
19:22:04 SILL PuppetPadchatManager contactRawPayload(newsapp) retry() attempt=1
19:22:04 SILL PuppetPadchatManager contactRawPayload(newsapp) retry() attempt=1
19:22:04 SILL PuppetPadchatManager contactRawPayload(newsapp) retry() attempt=1
19:22:04 SILL Accessory #9<Contact> constructor()
19:22:04 SILL Contact constructor(filehelper)
19:22:04 SILL Puppet contactPayload(qq512436430) cache MISS
19:22:04 VERB Contact say(received `friend` event from )
19:22:04 VERB PuppetPadchat messageSend({"contactId":"filehelper"}, received `friend` event from )
19:22:04 SILL PadchatRpc rpcCall(WXSendMsg, ["filehelper","received `friend` event from ",""])
received `friend` event from
not auto accepted, because verify message is: 哈哈妈妈
19:22:04 VERB Contact say(not auto accepted, because verify message is: 哈哈妈妈)
19:22:04 VERB PuppetPadchat messageSend({"contactId":"filehelper"}, not auto accepted, because verify message is: 哈哈妈妈)
19:22:04 SILL PadchatRpc rpcCall(WXSendMsg, ["filehelper","not auto accepted, because verify message is: 哈哈妈妈",""])
19:22:04 SILL PuppetPadchat contactRawPayloadParser({user_name="qq512436430"})
19:22:04 SILL PuppetPadchat contactRawPayloadParser({user_name="newsapp"})
19:22:04 SILL PuppetPadchat contactRawPayloadParser({user_name="newsapp"})
19:22:04 SILL PuppetPadchat contactRawPayloadParser({user_name="newsapp"})
19:22:04 SILL Puppet contactPayload(qq512436430) cache SET
19:22:04 SILL Puppet contactPayload(newsapp) cache SET
19:22:04 SILL Puppet constructor() lruOptions.dispose(newsapp, {"id":"newsapp","gender":0,"type":1,"alias":"","avatar":"http://wx.qlogo.cn/mmhead/ver_1/dpe3BHZ3LHd6Rx7Uv5aCIicDoBSchuqg3b3LaK4EyxMKW67ThDcy5S57qa3YjK58yZy71gicMwLmj7rKuHBhXHgc2tamcoS5lmZcJhdjMJwyQ/0","city":"","name":"腾讯新闻","province":"","signature":" "})
19:22:04 SILL Puppet contactPayload(newsapp) cache SET
19:22:04 SILL Puppet constructor() lruOptions.dispose(newsapp, {"id":"newsapp","gender":0,"type":1,"alias":"","avatar":"http://wx.qlogo.cn/mmhead/ver_1/dpe3BHZ3LHd6Rx7Uv5aCIicDoBSchuqg3b3LaK4EyxMKW67ThDcy5S57qa3YjK58yZy71gicMwLmj7rKuHBhXHgc2tamcoS5lmZcJhdjMJwyQ/0","c
@lijiarui
Copy link
Member Author

should be ding instead of other requests....

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

No branches or pull requests

1 participant