mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-06-13 13:59:20 +08:00
Refactor code
This commit is contained in:
parent
89d69a8fb6
commit
0db7aca1cd
@ -464,11 +464,10 @@ func (s *groupServer) GroupApplicationResponse(_ context.Context, req *pbGroup.G
|
||||
|
||||
err = imdb.InsertIntoGroupMember(member)
|
||||
if err != nil {
|
||||
log.NewError(req.OperationID, "GroupApplicationResponse failed ", err.Error(), req.FromUserID)
|
||||
log.NewError(req.OperationID, "GroupApplicationResponse failed ", err.Error(), member)
|
||||
return &pbGroup.GroupApplicationResponseResp{CommonResp: &pbGroup.CommonResp{ErrCode: constant.ErrDB.ErrCode, ErrMsg: constant.ErrDB.ErrMsg}}, nil
|
||||
}
|
||||
}
|
||||
|
||||
chat.MemberEnterNotification(req)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user