From f70a20f7405bf6facb7a7e7d9739fb89f002bf2d Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Thu, 17 Mar 2022 14:12:49 +0800 Subject: [PATCH] rtc add --- internal/rpc/msg/del_msg.go | 1 - pkg/common/config/config.go | 2 +- pkg/common/constant/error.go | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/internal/rpc/msg/del_msg.go b/internal/rpc/msg/del_msg.go index b2252730d..ce1303eb7 100644 --- a/internal/rpc/msg/del_msg.go +++ b/internal/rpc/msg/del_msg.go @@ -1,7 +1,6 @@ package msg import ( - "Open_IM/pkg/common/db" "Open_IM/pkg/common/log" commonPb "Open_IM/pkg/proto/sdk_ws" "Open_IM/pkg/utils" diff --git a/pkg/common/config/config.go b/pkg/common/config/config.go index dde2e6d62..2a57344e8 100644 --- a/pkg/common/config/config.go +++ b/pkg/common/config/config.go @@ -22,7 +22,7 @@ var Config config type callBackConfig struct { Enable bool `yaml:"enable"` CallbackTimeOut int `yaml:"callbackTimeOut"` - CallbackFailedContinue bool `callbackFailedContinue` + CallbackFailedContinue bool `yaml:"callbackFailedContinue"` } type config struct { diff --git a/pkg/common/constant/error.go b/pkg/common/constant/error.go index b41474b03..00a11fd49 100644 --- a/pkg/common/constant/error.go +++ b/pkg/common/constant/error.go @@ -91,7 +91,7 @@ const ( IntentionalError = 10007 ) -func (e *ErrInfo) Error() string { +func (e ErrInfo) Error() string { return e.ErrMsg }