From 00a7e03523cf173ea106d6d626bbeb239970d197 Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Thu, 27 Feb 2025 16:04:56 +0800 Subject: [PATCH] fix: shouldPushOffline --- internal/push/push_handler.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/internal/push/push_handler.go b/internal/push/push_handler.go index 707782c70..418c4c7f2 100644 --- a/internal/push/push_handler.go +++ b/internal/push/push_handler.go @@ -187,7 +187,10 @@ func (c *ConsumerHandler) shouldPushOffline(_ context.Context, msg *sdkws.MsgDat if !isOfflinePush { return false } - if msg.ContentType == constant.SignalingNotification { + switch msg.ContentType { + case constant.RoomParticipantsConnectedNotification: + return false + case constant.RoomParticipantsDisconnectedNotification: return false } return true