Fix instance userCount not updating

This commit is contained in:
Natsumi
2025-09-27 04:21:22 +12:00
parent a0afc2bd6a
commit 7872e066f8
2 changed files with 12 additions and 6 deletions

View File

@@ -675,7 +675,7 @@ export const useInstanceStore = defineStore('Instance', () => {
for (const room of rooms) {
ref = cachedInstances.get(room.tag);
if (typeof ref !== 'undefined') {
room.ref = ref;
Object.assign(room.ref, ref);
}
}
rooms.sort(function (a, b) {