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

[BUG]WorkPro: 企微账号中本身有大几百个群,机器人接管企微号后,私聊无法响应 #597

Open
WWj5921 opened this issue Oct 31, 2024 · 1 comment
Assignees
Labels
workpro Wechaty Puppet Service WorkPro

Comments

@WWj5921
Copy link

WWj5921 commented Oct 31, 2024

在登录正式工作的企微账号前,一直用新建的企微号在测试,测试群聊,私聊这些功能,基本没啥问题。
经过基本的功能测试后,尝试接管了已经有大量业务往来的企微号,这些企微号内少的可能有一二百个群,多的有七八百个群。
选了一个账号扫码登录后,已经触发了login事件,显示登录成功。
但是在测试私聊的场景下,发送私聊消息,看日志一直没有触发到message 事件,一直接收不到消息。
想问下,如果有大量群的情况下,消息的监听的时效性会受影响吗,如果有,如何避免。

@WWj5921 WWj5921 added the workpro Wechaty Puppet Service WorkPro label Oct 31, 2024
@hcfw007
Copy link
Member

hcfw007 commented Oct 31, 2024

应该不会有影响,你所说的这个现象是刚登陆之后的,还是一直持续?由于联系人和群数量特别多(群成员也是联系人),可能需要较长时间来准备数据。可以尝试监听 ready 事件,然后再执行业务代码。

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

No branches or pull requests

3 participants