From cb6a87f73ce995922d078a8576d6c9e188c06aac Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Tue, 1 Jan 2019 02:08:15 +0000 Subject: [PATCH] Connect to gateway immediately on login, a test for now --- webapp/titanembeds/static/js/embed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index efea8d1..422f303 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -54,7 +54,7 @@ var all_users = []; // List of all the users in guild var is_dragging_chatcontainer = false; // Track if is dragging on chatcontainer (does not trigger messagebox focus) or not var localstorage_avaliable = false; // Check if localstorage is avaliable on this browser - var shouldUtilizeGateway = false; // Don't connect to gateway until page is focused or has interaction. + var shouldUtilizeGateway = true; // Don't connect to gateway until page is focused or has interaction. -- set to true for now as an experiment to see how long this lasts... var discord_users_list_enabled = false; // Allow automatic population of discord users list function element_in_view(element, fullyInView) {