From 728aabd449ed8f70231c643d756488fef7431aae Mon Sep 17 00:00:00 2001 From: RobinLinus Date: Fri, 21 Sep 2018 19:32:59 +0200 Subject: [PATCH] Fix typo in server --- server/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/index.js b/server/index.js index c50b4d8..f35a299 100644 --- 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