From 5a56ce7918ee95a83af9d0ed65165e8c9add8aea Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Mon, 6 Nov 2023 10:12:42 +0800 Subject: [PATCH] fix --- server/websocket/internal/logic/datatransferlogic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/websocket/internal/logic/datatransferlogic.go b/server/websocket/internal/logic/datatransferlogic.go index d7e31b17..949df11b 100644 --- a/server/websocket/internal/logic/datatransferlogic.go +++ b/server/websocket/internal/logic/datatransferlogic.go @@ -180,7 +180,7 @@ func (l *DataTransferLogic) setConnPool(conn *websocket.Conn, userInfo *auth.Use return wsConnectItem{}, err } //传入绑定的wid判断是否可重用(白板用户不可重用) - if oldWid != "" /* && (userInfo.IsUser() || userInfo.IsGuest()) */ { + if oldWid != "" && (userInfo.IsUser() || userInfo.IsGuest()) { for i := 0; i < 1; i++ { //解析传入的wid是不是属于自己的用户的 decryptionWid, err := encryption_decryption.CBCDecrypt(oldWid)