diff --git a/html/src/app.js b/html/src/app.js index 566b3daf..c25f2950 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -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,12 +10375,14 @@ speechSynthesis.getVoices(); await $app.initFriendLog(args.json.id); } } catch (err) { - $app.$message({ - message: 'Failed to load freinds list, logging out', - type: 'error' - }); - this.logout(); - throw err; + if (!$app.dontLogMeOut) { + $app.$message({ + message: 'Failed to load freinds list, logging out', + type: 'error' + }); + this.logout(); + throw err; + } } $app.getAvatarHistory(); $app.getAllMemos();