revert: remove unnecessary getUser

This commit is contained in:
Natsumi
2026-02-12 14:52:42 +13:00
committed by pa
parent 2964a2afcd
commit 84f7103fd6
3 changed files with 6 additions and 4 deletions

View File

@@ -187,13 +187,15 @@ export const useGroupStore = defineStore('Group', () => {
D.ownerDisplayName = args.ref.ownerId;
D.visible = true;
D.loading = false;
if (args.cache) {
groupRequest.getGroup(args.params);
}
userRequest
.getCachedUser({
userId: args.ref.ownerId
})
.then((args1) => {
D.ownerDisplayName = args1.ref.displayName;
return args1;
});
database.getLastGroupVisit(D.ref.name).then((r) => {
if (D.id === args.ref.id) {