Improve Friend List Loading Speed (#1116)

This commit is contained in:
pa
2025-02-03 19:59:48 +09:00
committed by GitHub
parent cbb40ebc8b
commit e5d900b364
2 changed files with 12 additions and 13 deletions

View File

@@ -5555,12 +5555,9 @@ console.log(`isLinux: ${LINUX}`);
await $app.feedTableLookup();
// eslint-disable-next-line require-atomic-updates
$app.notificationTable.data = await database.getNotifications();
await this.refreshNotifications();
await $app.loadCurrentUserGroups(
args.json.id,
args.json?.presence?.groups
);
await $app.getCurrentUserGroups();
this.refreshNotifications();
$app.loadCurrentUserGroups(args.json.id, args.json?.presence?.groups);
$app.getCurrentUserGroups();
try {
if (
await configRepository.getBool(`friendLogInit_${args.json.id}`)