mirror of
https://github.com/spacebarchat/server.git
synced 2026-05-14 20:35:17 +00:00
Fast connect but send identify
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user