Skip to content

Commit

Permalink
Integration testing always reveals some minor problem :-).
Browse files Browse the repository at this point in the history
  • Loading branch information
aboodman committed Dec 9, 2021
1 parent e913d77 commit 6fde3a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ export class Server {
existing.socket.close();
}

ws.onmessage = () => {}; // TODO
ws.onmessage = (event) =>
this.handleMessage(roomID, clientID, event.data.toString(), ws);
ws.onclose = () => this.handleClose(roomID, clientID);

const clockBehindByMs = this._now() - timestamp;
Expand Down

0 comments on commit 6fde3a2

Please sign in to comment.