This commit is contained in:
laodaming 2023-11-06 10:12:42 +08:00
parent eca69bb085
commit 5a56ce7918

View File

@ -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)