From d80f67dd1e99ddb456d967145b11403c859da3d0 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Sun, 23 Jul 2023 15:49:04 -0700 Subject: [PATCH] Increase idle threshold to 5 minutes --- web/static/js/BareRTC.js | 2 +- web/templates/chat.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/static/js/BareRTC.js b/web/static/js/BareRTC.js index 2783e0e..21b7440 100644 --- a/web/static/js/BareRTC.js +++ b/web/static/js/BareRTC.js @@ -91,7 +91,7 @@ const app = Vue.createApp({ // Idle detection variables idleTimeout: null, - idleThreshold: 60, // number of seconds you must be idle + idleThreshold: 300, // number of seconds you must be idle // WebSocket connection. ws: { diff --git a/web/templates/chat.html b/web/templates/chat.html index 18a0d2d..7159e53 100644 --- a/web/templates/chat.html +++ b/web/templates/chat.html @@ -479,7 +479,7 @@ :class="{'is-active': c.ID == channel}"> [[c.Name]] + class="tag is-success"> [[hasUnread(c.ID)]]