mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
core: bug fix
This commit is contained in:
1 file changed
+2
-2
@@ -332,8 +332,8 @@ class RecordMainConnectionHandler extends ConnectionHandler {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (this.pid && rdoc.pid !== this.pid) return;
|
||||
if (this.uid && rdoc.uid !== this.uid) return;
|
||||
if (typeof this.pid === 'number' && rdoc.pid !== this.pid) return;
|
||||
if (typeof this.uid === 'number' && rdoc.uid !== this.uid) return;
|
||||
|
||||
// eslint-disable-next-line prefer-const
|
||||
let [udoc, pdoc] = await Promise.all([
|
||||
|
||||
Reference in new issue
Block a user