commit 728aabd449ed8f70231c643d756488fef7431aae
parent 96e37aef40c7a69203b172655b290732dc236dc3
Author: RobinLinus <robinlinus@users.noreply.github.com>
Date: Fri, 21 Sep 2018 19:32:59 +0200
Fix typo in server
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/server/index.js b/server/index.js
@@ -34,8 +34,10 @@ class SnapdropServer {
switch (message.type) {
case 'disconnect':
this._leaveRoom(sender);
+ break;
case 'pong':
sender.lastBeat = Date.now();
+ break;
}
// relay message to recipient