|
|
@ -459,7 +459,7 @@ func (s *friendServer) GetSelfApplyList(ctx context.Context, req *pbFriend.GetSe
|
|
|
|
var selfApplyOtherUserList []*sdkws.FriendRequest
|
|
|
|
var selfApplyOtherUserList []*sdkws.FriendRequest
|
|
|
|
for _, selfApplyOtherUserInfo := range usersInfo {
|
|
|
|
for _, selfApplyOtherUserInfo := range usersInfo {
|
|
|
|
var userInfo sdkws.FriendRequest // pbFriend.ApplyUserInfo
|
|
|
|
var userInfo sdkws.FriendRequest // pbFriend.ApplyUserInfo
|
|
|
|
cp.FriendRequestDBCopyOpenIM(&userInfo, selfApplyOtherUserInfo)
|
|
|
|
cp.FriendRequestDBCopyOpenIM(&userInfo, &selfApplyOtherUserInfo)
|
|
|
|
selfApplyOtherUserList = append(selfApplyOtherUserList, &userInfo)
|
|
|
|
selfApplyOtherUserList = append(selfApplyOtherUserList, &userInfo)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
log.NewInfo(req.CommID.OperationID, "rpc GetSelfApplyList ok", pbFriend.GetSelfApplyListResp{FriendRequestList: selfApplyOtherUserList})
|
|
|
|
log.NewInfo(req.CommID.OperationID, "rpc GetSelfApplyList ok", pbFriend.GetSelfApplyListResp{FriendRequestList: selfApplyOtherUserList})
|
|
|
|