mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 11:36:44 +08:00
Refactor code
This commit is contained in:
parent
9f5897e06c
commit
b32567681f
@ -418,8 +418,7 @@ func (s *groupServer) GetGroupsInfo(ctx context.Context, req *pbGroup.GetGroupsI
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
var groupInfo open_im_sdk.GroupInfo
|
var groupInfo open_im_sdk.GroupInfo
|
||||||
utils.CopyStructFields(&groupInfo, groupInfoFromMysql)
|
cp.GroupDBCopyOpenIM(&groupInfo, groupInfoFromMysql)
|
||||||
groupInfo.CreateTime = groupInfoFromMysql.CreateTime.Unix()
|
|
||||||
groupsInfoList = append(groupsInfoList, &groupInfo)
|
groupsInfoList = append(groupsInfoList, &groupInfo)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user