From 51fa675e90b38b57a6ef61ac0c79a0a18ab86200 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Mon, 26 Sep 2022 12:22:28 +0800 Subject: [PATCH] callback update --- internal/push/logic/callback.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/push/logic/callback.go b/internal/push/logic/callback.go index 746b9e122..788a6e6e6 100644 --- a/internal/push/logic/callback.go +++ b/internal/push/logic/callback.go @@ -62,7 +62,7 @@ func callbackOfflinePush(operationID string, userIDList []string, msg *commonPb. func callbackOnlinePush(operationID string, userIDList []string, msg *commonPb.MsgData) cbApi.CommonCallbackResp { callbackResp := cbApi.CommonCallbackResp{OperationID: operationID} - if !config.Config.Callback.CallbackOnlinePush.Enable { + if !config.Config.Callback.CallbackOnlinePush.Enable || utils.IsContain(msg.SendID, userIDList) { return callbackResp } req := cbApi.CallbackBeforePushReq{