diff options
| author | Adam Soltys <[email protected]> | 2021-10-05 16:49:40 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-10-05 16:49:40 -0700 |
| commit | 88837c9ea71cf7a859bdba5c1466c576fc7881be (patch) | |
| tree | 6d08b23440d37cf80e1d9009d4e3647fd225fe13 /lib/sockets.js | |
| parent | 2fe8de8ab399b109b3af5b2f0fc9608e4986c47e (diff) | |
| download | coinos-server-88837c9ea71cf7a859bdba5c1466c576fc7881be.tar.gz coinos-server-88837c9ea71cf7a859bdba5c1466c576fc7881be.zip | |
insert missed payments
Diffstat (limited to 'lib/sockets.js')
| -rw-r--r-- | lib/sockets.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sockets.js b/lib/sockets.js index bd59ee38..8f67bc06 100644 --- a/lib/sockets.js +++ b/lib/sockets.js @@ -87,6 +87,7 @@ wss.on("connection", function(ws, req) { switch (type) { case "heartbeat": ws.beats = 0; + if (ws.user) emit(ws.user.username, "id", ws.id); break; case "login": |
