mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-27 18:53:47 +02:00
add enable mutual friends sharing prompt
This commit is contained in:
@@ -2021,6 +2021,13 @@ export const useUserStore = defineStore('User', () => {
|
||||
sendBoopDialog.value.visible = true;
|
||||
}
|
||||
|
||||
function toggleSharedConnectionsOptOut() {
|
||||
userRequest.saveCurrentUser({
|
||||
hasSharedConnectionsOptOut:
|
||||
!currentUser.value.hasSharedConnectionsOptOut
|
||||
});
|
||||
}
|
||||
|
||||
return {
|
||||
state,
|
||||
|
||||
@@ -2048,6 +2055,7 @@ export const useUserStore = defineStore('User', () => {
|
||||
getCurrentUser,
|
||||
handleConfig,
|
||||
showSendBoopDialog,
|
||||
checkNote
|
||||
checkNote,
|
||||
toggleSharedConnectionsOptOut
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user