From d0b659ccea07960355ffa06c19069498d4853ca6 Mon Sep 17 00:00:00 2001 From: Gordon <1432970085@qq.com> Date: Tue, 7 Mar 2023 11:09:17 +0800 Subject: [PATCH] super group notification --- internal/msg_gateway/gate/relay_rpc_server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/msg_gateway/gate/relay_rpc_server.go b/internal/msg_gateway/gate/relay_rpc_server.go index c9a305581..bc27d5f19 100644 --- a/internal/msg_gateway/gate/relay_rpc_server.go +++ b/internal/msg_gateway/gate/relay_rpc_server.go @@ -205,7 +205,7 @@ func (r *RPCServer) SuperGroupOnlineBatchPushOneMsg(_ context.Context, req *pbRe RecvID: v, RecvPlatFormID: int32(platform), } - if !userConn.IsBackground { + if !userConn.IsBackground || req.MsgData.ContentType == constant.SuperGroupUpdateNotification { resultCode := sendMsgBatchToUser(userConn, replyBytes.Bytes(), req, platform, v) if resultCode == 0 && utils.IsContainInt(platform, r.pushTerminal) { tempT.OnlinePush = true