Skip to content

Commit

Permalink
fix: filter Invalid. (#636)
Browse files Browse the repository at this point in the history
  • Loading branch information
mo3et committed Aug 5, 2024
1 parent aa7e117 commit c7f2694
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/group/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,9 @@ func (g *Group) GetGroupMemberList(ctx context.Context, groupID string, filter,
case constant.GroupFilterOwnerAndAdmin:
return localGroupMembers, false, nil
case constant.GroupFilterAll:
fallthrough
case constant.GroupFilterOrdinaryUsers:
fallthrough
case constant.GroupFilterAdminAndOrdinaryUsers:
return localGroupMembers, true, nil
}
Expand Down

0 comments on commit c7f2694

Please sign in to comment.