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