add helpfull console logs
This commit is contained in:
parent
c9cbbdf5ec
commit
68957ec324
|
@ -64,6 +64,7 @@ class Room extends EventEmitter {
|
||||||
m: "c",
|
m: "c",
|
||||||
c: this.chatmsgs.slice(-1 * 32)
|
c: this.chatmsgs.slice(-1 * 32)
|
||||||
}])
|
}])
|
||||||
|
console.log("trying send chat", this.chatmsgs.slice(-1 * 32))
|
||||||
this.updateCh(cl);
|
this.updateCh(cl);
|
||||||
} else {
|
} else {
|
||||||
cl.user.id = otheruser.participantId;
|
cl.user.id = otheruser.participantId;
|
||||||
|
|
|
@ -18,6 +18,7 @@ class User {
|
||||||
"_id": _id,
|
"_id": _id,
|
||||||
"ip": this.cl.ip
|
"ip": this.cl.ip
|
||||||
});
|
});
|
||||||
|
console.log("Set database", user.name, user._id)
|
||||||
this.updatedb();
|
this.updatedb();
|
||||||
}
|
}
|
||||||
let user = this.userdb.get(_id);
|
let user = this.userdb.get(_id);
|
||||||
|
|
Loading…
Reference in New Issue