aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/client/room.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/client/room.ts b/source/client/room.ts
index 3f56ece..45ccd84 100644
--- a/source/client/room.ts
+++ b/source/client/room.ts
@@ -67,5 +67,6 @@ export class Room {
websocket_open() {
log("ws", "websocket opened");
this.websocket.send(this.local_user.name)
+ setInterval(() => this.websocket_send({}), 30000) // stupid workaround for nginx disconnection inactive connections
}
} \ No newline at end of file