pull/455/head
wangchuxiao 2 years ago committed by Xinwei Xiong(cubxxw-openim)
parent 5ada15a461
commit d7bae8573e

@ -240,7 +240,7 @@ func GetJoinedGroupIDListByUserID(userID string) ([]string, error) {
if err != nil { if err != nil {
return nil, err return nil, err
} }
var groupIDList []string = make([]string, len(memberList)) var groupIDList []string
for _, v := range memberList { for _, v := range memberList {
groupIDList = append(groupIDList, v.GroupID) groupIDList = append(groupIDList, v.GroupID)
} }

Loading…
Cancel
Save