mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
Fix avatar dialog gallery edit buttons and left own group spam
This commit is contained in:
@@ -351,6 +351,13 @@ export const useGroupStore = defineStore('Group', () => {
|
||||
if (currentUserGroups.has(groupId)) {
|
||||
currentUserGroups.delete(groupId);
|
||||
groupRequest.getCachedGroup({ groupId }).then((args) => {
|
||||
if (args.ref?.ownerId === userStore.currentUser.id) {
|
||||
// Issue #1455
|
||||
console.log(
|
||||
`Not sending left group notification for owned group ${groupId}`
|
||||
);
|
||||
return;
|
||||
}
|
||||
groupChange(args.ref, 'Left group');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user