From 39788157b8a3d061771b85d5bdc7ef96467315d4 Mon Sep 17 00:00:00 2001 From: dezhiShen <{ID}+{username}@users.noreply.github.com> Date: Sun, 15 Oct 2023 14:32:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E9=87=8D=E8=BF=9E=E5=90=8E=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E8=AE=A4=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/client/event_ws.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/client/event_ws.go b/pkg/client/event_ws.go index dc182c8..7c83a55 100644 --- a/pkg/client/event_ws.go +++ b/pkg/client/event_ws.go @@ -101,6 +101,8 @@ func (cli *WebsocketEventChannel) StartListen(ctx context.Context, callback func time.Sleep(time.Duration(internal) * time.Second) // } } + // 重连后需要重新认证 + cli.sendIDENTIFY() } if err != nil { log.Errorf("重连失败...,%v", err)