jsir 2.6.4 → 2.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deps/room.js +5 -2
- package/package.json +1 -1
package/deps/room.js
CHANGED
|
@@ -121,9 +121,12 @@ async function initNodes() {
|
|
|
121
121
|
if (configNodes.length > 0) {
|
|
122
122
|
for (const node of configNodes) {
|
|
123
123
|
let ss = node.split("@").map(trim).filter(i => i);
|
|
124
|
-
nodes[ss[1]] = {}
|
|
125
124
|
if (ss.length > 1) {
|
|
126
|
-
nodes[ss[1]]
|
|
125
|
+
nodes[ss[1]] = {
|
|
126
|
+
account: ss[0]
|
|
127
|
+
}
|
|
128
|
+
} else {
|
|
129
|
+
nodes[ss[0]] = {}
|
|
127
130
|
}
|
|
128
131
|
}
|
|
129
132
|
} else {
|