Skip to content

尝试修复部分群号无法获取成员列表的问题 #161

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 1 commit into from
Jun 14, 2025

Conversation

TaffyStudio
Copy link
Contributor

@TaffyStudio TaffyStudio commented Jun 14, 2025

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

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

填写PR内容:

尝试修复使用 mirai-api-http 插件提供的接口时,部分群号无法获取最新群成员列表(onLatestMemberList)的问题。

其原因是由于在 mirai-api-http 插件中,调用getRawGroupMemberList时尝试使用Mirai.getUin修正旧群的uin,而对应的OneBot实现不需要转换uin,导致获取到的群号无效,进而无法正确获取到成员列表:
image
image
image

刚开始以为是OneBot实现的问题,查了半天才发现是这个问题。

@MrXiaoM MrXiaoM merged commit 82a5377 into MrXiaoM:main Jun 14, 2025
1 check passed
MrXiaoM added a commit that referenced this pull request Jun 18, 2025
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.

2 participants