core: bug fix

This commit is contained in:
undefined committed 2024-10-03 16:04:35 +08:00
1 parent 57b708b99e
commit 9e49645b49
1 file changed
+2 -2
+2 -2
View File
@@ -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([