Skip to content

[BUG] The group member count is incorrect. #3391

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

Open
gddd2302 opened this issue May 27, 2025 · 2 comments
Open

[BUG] The group member count is incorrect. #3391

gddd2302 opened this issue May 27, 2025 · 2 comments
Labels
bug Categorizes issue or PR as related to a bug.

Comments

@gddd2302
Copy link

OpenIM Server Version

3.8.2

Operating System and CPU Architecture

Linux (AMD)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

Hello,
The server version is 3.8.2, and the Flutter version is also 3.8.2.
When I use the API to fetch the group member count, it returns 475, but the Flutter SDK returns 413.
There’s a significant discrepancy between the two values.
API:
api/group/get_group_member_list:
result:{
"errCode": 0,
"errMsg": "",
"errDlt": "",
"data": {
"total": 475,
"members": [
{
"groupID": "183051",

SDK:
var list = await OpenIM.iMManager.groupManager.getGroupMemberList(
groupID: groupInfo.value.groupID,
count: 999,
);
memberList.assignAll(list);
print("groupID ${groupInfo.value.groupID} = ${memberList.length}");
result: groupID 183051 = 413

After repeated comparisons, I can confirm that the API result is correct, and the SDK is returning an incorrect number.

I would like to understand why this inconsistency occurs and how to resolve it.

thanks

Screenshots Link

No response

@gddd2302 gddd2302 added the bug Categorizes issue or PR as related to a bug. label May 27, 2025
@skiffer-git
Copy link
Member

Do you like to update to version 3.8.3 or above

@gddd2302
Copy link
Author

gddd2302 commented May 27, 2025

Do you like to update to version 3.8.3 or above

Is there a way to handle it without upgrading?
Has this issue been resolved in version 3.8.3?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants