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

通过名片添加好友,不能自动通过 #84

Open
1 task done
kiwi-wang opened this issue Nov 20, 2024 · 0 comments
Open
1 task done

通过名片添加好友,不能自动通过 #84

kiwi-wang opened this issue Nov 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kiwi-wang
Copy link

Self Checks

Panel Version

1.6.67

协议

web 协议

部署方式

Docker 部署

问题及复现步骤

转发名片给好友,设置的自动通过,添加好友报错, 但是通过群加好友就没有问题.

✔️ 预计结果

应该通过
2024-11-20 18:13:09 - 木豆豆,发送了好友请求

2024-11-20 18:13:09 - 新添加好友:木豆豆,默认回复

2024-11-20 18:13:10 - 素材 {
id: 10612,

❌ 实际结果

2024-11-20 18:12:09 - 添加好友出错: AssertionError [ERR_ASSERTION]: -1 == 0
at Object.equal (/bot/node_modules/wechat4u/lib/util/global.js:69:24)
at /bot/node_modules/wechat4u/lib/core.js:1210:24
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async PuppetWechat4u.friendshipAccept (file:///bot/node_modules/wechaty-puppet-wechat4u/dist/esm/src/puppet-wechat4u.js:800:9)
at async WechatifiedUserClass.accept (file:///bot/node_modules/@juzi/wechaty/dist/esm/src/user-modules/friendship.js:202:9)
at async WechatyImpl.onFriend (file:///bot/node_modules/wechaty-web-panel/dist/esm/src/handlers/on-friend.js:21:25) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: -1,
expected: 0,
operator: '==',
response: [Object],
tips: '通过好友请求失败'
}

@kiwi-wang kiwi-wang added the bug Something isn't working label Nov 20, 2024
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