This commit is contained in:
laodaming 2023-10-30 18:39:27 +08:00
parent 9c027b59db
commit bc87a3a114

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)