diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-10-31 19:37:46 +1100 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-10-31 19:37:46 +1100 |
commit | 427a8f55ba5f3ec2843078c3426eade3d1b6daac (patch) | |
tree | 7bc81861e4babf4378971455bf7722f985c0b365 /scripts/client.js | |
parent | Fix message patching sending old message rather than updated one (diff) | |
download | server-427a8f55ba5f3ec2843078c3426eade3d1b6daac.tar.xz |
Fast connect but send identify
Diffstat (limited to 'scripts/client.js')
-rw-r--r-- | scripts/client.js | 6 |
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; }; |