refactor: errcode update

This commit is contained in:
Gordon
2023-07-03 21:15:52 +08:00
parent 4ca3e757bd
commit e6c2568f6b
4 changed files with 34 additions and 55 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ func (m *msgServer) sendMsgSingleChat(ctx context.Context, req *pbMsg.SendMsgReq
}
if !isSend {
promePkg.Inc(promePkg.SingleChatMsgProcessFailedCounter)
return nil, errs.ErrUserNotRecvMsg
return nil, nil
} else {
if err = callbackBeforeSendSingleMsg(ctx, req); err != nil {
return nil, err