forked from Hri7566/mpp-server-dev2
Still send chat to user
This commit is contained in:
parent
b8dfeb05d6
commit
a078ce6ca1
|
@ -68,6 +68,10 @@ class Room extends EventEmitter {
|
||||||
cl.user.id = otheruser.participantId;
|
cl.user.id = otheruser.participantId;
|
||||||
cl.participantId = otheruser.participantId;
|
cl.participantId = otheruser.participantId;
|
||||||
this.connections.push(cl);
|
this.connections.push(cl);
|
||||||
|
cl.sendArray([{
|
||||||
|
m: "c",
|
||||||
|
c: this.chatmsgs.slice(-1 * 32)
|
||||||
|
}])
|
||||||
this.updateCh(cl);
|
this.updateCh(cl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue