This commit is contained in:
wangchuxiao 2022-07-21 17:46:51 +08:00 committed by Xinwei Xiong(cubxxw-openim)
parent 5ada15a461
commit d7bae8573e

View File

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