From 909b57558e728ca21405ec0fce957c453990ff99 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Wed, 29 Mar 2023 18:26:03 +0800 Subject: [PATCH] group --- internal/rpc/group/group.go | 3 +-- script/check_all.sh | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/rpc/group/group.go b/internal/rpc/group/group.go index 09839504c..5b5a9fa6a 100644 --- a/internal/rpc/group/group.go +++ b/internal/rpc/group/group.go @@ -553,7 +553,6 @@ func (s *groupServer) GetGroupsInfo(ctx context.Context, req *pbGroup.GetGroupsI } func (s *groupServer) GroupApplicationResponse(ctx context.Context, req *pbGroup.GroupApplicationResponseReq) (*pbGroup.GroupApplicationResponseResp, error) { - resp := &pbGroup.GroupApplicationResponseResp{} if !utils.Contain(req.HandleResult, constant.GroupResponseAgree, constant.GroupResponseRefuse) { return nil, errs.ErrArgs.Wrap("HandleResult unknown") } @@ -617,7 +616,7 @@ func (s *groupServer) GroupApplicationResponse(ctx context.Context, req *pbGroup s.Notification.GroupApplicationRejectedNotification(ctx, req) } } - return resp, nil + return &pbGroup.GroupApplicationResponseResp{}, nil } func (s *groupServer) JoinGroup(ctx context.Context, req *pbGroup.JoinGroupReq) (*pbGroup.JoinGroupResp, error) { diff --git a/script/check_all.sh b/script/check_all.sh index d8f3c4df3..8fdab0040 100644 --- a/script/check_all.sh +++ b/script/check_all.sh @@ -15,6 +15,7 @@ service_port_name=( openImAuthPort openImPushPort openImConversationPort + openImThirdPort ) for i in ${service_port_name[*]}; do list=$(cat $config_path | grep -w ${i} | awk -F '[:]' '{print $NF}')