feat: store socket ID with message

This commit is contained in:
cha0s 2020-07-18 17:11:24 -05:00
parent 350c5d143a
commit 76a7a1943e

View File

@ -103,6 +103,7 @@ export function createSocketServer(httpServer) {
.set(key, JSON.stringify({
message,
owner,
socket: socket.id,
timestamp,
}))
.expire(key, 600)