summary refs log tree commit diff
path: root/scripts/client.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/client.js')
-rw-r--r--scripts/client.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/client.js b/scripts/client.js
index b31f2fcc..b42217a0 100644
--- a/scripts/client.js
+++ b/scripts/client.js
@@ -119,6 +119,12 @@ const doPatch = (content) => {
 		"console.log('Prevented deletion of localStorage')"
 	);
 
+	// fast identify
+	content = content.replaceAll(
+		"e.isFastConnect=t;t?e._doFastConnectIdentify():e._doResumeOrIdentify()",
+		"e.isFastConnect=t; if (t !== undefined) e._doResumeOrIdentify();"
+	);
+
 	return content;
 };