mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-27 08:03:17 +00:00
Fast connect but send identify
This commit is contained in:
1 parent
5b849749d5
commit
3dfd864aff
2 files changed
+80
-1
No files matched your search
@@ -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