Skip to content

fix #155 and broadcast BotJoinGroupEvent.Invite by GroupIncreaseNoticeEvent completely #156

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

Merged
merged 3 commits into from
May 25, 2025

Conversation

MrY-Cat
Copy link
Contributor

@MrY-Cat MrY-Cat commented May 25, 2025

在提出此拉取请求时,我确认了以下几点(请复选框):

  • 我已阅读并理解贡献文档
  • 我已检查没有与此请求重复的 Pull Requests。
  • 我已经考虑过,并确认这份呈件对其他人很有价值。
  • 我接受此提交可能不会被使用,并根据维护人员的意愿关闭 Pull Requests。

填写PR内容:

fix #155 and broadcast BotJoinGroupEvent by GroupIncreaseNoticeEvent completely

完全基于稳定的GroupIncreaseNoticeEvent来广播BotJoinGroupEvent,抛弃基于不稳定的InviteJoinGroupRequest,同时不用考虑二者会重复的问题,修复了#155

根据#155的分析,这样改我认为逻辑上没问题,根据#155评论里的某些原因,本次小改动并未进行本地打包后实机测试,若检查后感觉没问题并合并了,我再下载最新开发版进行实机验证测试

MrY-Cat added 3 commits May 25, 2025 19:02
MrXiaoM#155 fix1(由于github网页版似乎没法一次修改多个文件)
@MrXiaoM
Copy link
Owner

MrXiaoM commented May 25, 2025

建议先从 Actions 下载测试

@MrY-Cat
Copy link
Contributor Author

MrY-Cat commented May 25, 2025

建议先从 Actions 下载测试

原来Actions这里会直接出来jar包啊,那很OK,吃完饭我下载测试一下

@MrY-Cat
Copy link
Contributor Author

MrY-Cat commented May 25, 2025

测试OK了,创建3人新群/邀请进入低于50人的群/邀请进入几百人的群/进群退群后重新进群,均正常触发BotJoinGroupEvent

@MrXiaoM MrXiaoM merged commit 877953c into MrXiaoM:main May 25, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

当加群并退群后,再次加入该群可能不触发BotJoinGroupEvent的问题
2 participants