From ae1b4e5c04c3ec7956841d800631cf5c7953a083 Mon Sep 17 00:00:00 2001 From: withchao <993506633@qq.com> Date: Wed, 31 Jul 2024 17:56:31 +0800 Subject: [PATCH] fix: onlineUserIDs --- internal/push/push_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/push/push_handler.go b/internal/push/push_handler.go index c3b27372b..249622a59 100644 --- a/internal/push/push_handler.go +++ b/internal/push/push_handler.go @@ -202,7 +202,7 @@ func (c *ConsumerHandler) GetConnsAndOnlinePush(ctx context.Context, msg *sdkws. var result []*msggateway.SingleMsgToUserResults if len(onlineUserIDs) > 0 { var err error - result, err = c.onlinePusher.GetConnsAndOnlinePush(ctx, msg, pushToUserIDs) + result, err = c.onlinePusher.GetConnsAndOnlinePush(ctx, msg, onlineUserIDs) if err != nil { return nil, err }