Fix typo in server
This commit is contained in:
parent
96e37aef40
commit
728aabd449
1 changed files with 2 additions and 0 deletions
|
@ -34,8 +34,10 @@ class SnapdropServer {
|
||||||
switch (message.type) {
|
switch (message.type) {
|
||||||
case 'disconnect':
|
case 'disconnect':
|
||||||
this._leaveRoom(sender);
|
this._leaveRoom(sender);
|
||||||
|
break;
|
||||||
case 'pong':
|
case 'pong':
|
||||||
sender.lastBeat = Date.now();
|
sender.lastBeat = Date.now();
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// relay message to recipient
|
// relay message to recipient
|
||||||
|
|
Loading…
Reference in a new issue