1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-10 04:32:35 +01:00

Update patcher to disable qr login

This commit is contained in:
Puyodead1 2022-12-22 01:03:12 -05:00
parent a3630fdba4
commit 9be9bad431
No known key found for this signature in database
GPG Key ID: B1FDE614A91E5BE9

View File

@ -135,6 +135,9 @@ const doPatch = (content) => {
"e.isFastConnect=t; if (t !== undefined) e._doResumeOrIdentify();" "e.isFastConnect=t; if (t !== undefined) e._doResumeOrIdentify();"
); );
// disable qr code login
content = content.replaceAll(/\w\?\(\d,\w\.jsx\)\(\w*\,{authTokenCallback:this\.handleAuthToken}\):null/g, "null");
return content; return content;
}; };