mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 14:56:06 +02:00
dontLogMeOut flag
This commit is contained in:
@@ -10341,6 +10341,8 @@ speechSynthesis.getVoices();
|
||||
this.feedTable.loading = false;
|
||||
};
|
||||
|
||||
$app.data.dontLogMeOut = false;
|
||||
|
||||
API.$on('LOGIN', async function (args) {
|
||||
$app.friendLog = new Map();
|
||||
$app.feedTable.data = [];
|
||||
@@ -10373,6 +10375,7 @@ speechSynthesis.getVoices();
|
||||
await $app.initFriendLog(args.json.id);
|
||||
}
|
||||
} catch (err) {
|
||||
if (!$app.dontLogMeOut) {
|
||||
$app.$message({
|
||||
message: 'Failed to load freinds list, logging out',
|
||||
type: 'error'
|
||||
@@ -10380,6 +10383,7 @@ speechSynthesis.getVoices();
|
||||
this.logout();
|
||||
throw err;
|
||||
}
|
||||
}
|
||||
$app.getAvatarHistory();
|
||||
$app.getAllMemos();
|
||||
if ($app.randomUserColours) {
|
||||
|
||||
Reference in New Issue
Block a user