From 27d65646f77651e0b5c609119ee1b82d9e0316a1 Mon Sep 17 00:00:00 2001 From: Natsumi Date: Tue, 28 Oct 2025 17:06:59 +1100 Subject: [PATCH] Add 18+ icon to playerList --- src/stores/instance.js | 9 ++++++++- src/views/PlayerList/PlayerList.vue | 19 +++++++++++-------- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/src/stores/instance.js b/src/stores/instance.js index 086d278f..e2935101 100644 --- a/src/stores/instance.js +++ b/src/stores/instance.js @@ -1082,6 +1082,7 @@ export const useInstanceStore = defineStore('Instance', () => { let isMuted = false; let isAvatarInteractionDisabled = false; let isChatBoxMuted = false; + let ageVerified = false; photonStore.photonLobbyCurrent.forEach((ref1, id) => { if (typeof ref1 !== 'undefined') { if ( @@ -1143,6 +1144,7 @@ export const useInstanceStore = defineStore('Instance', () => { isAvatarInteractionDisabled = ref.$moderations.isAvatarInteractionDisabled; isChatBoxMuted = ref.$moderations.isChatBoxMuted; + ageVerified = ref.ageVerificationStatus === '18+'; } users.push({ ref, @@ -1155,7 +1157,12 @@ export const useInstanceStore = defineStore('Instance', () => { inVRMode, groupOnNameplate, isFriend, - timeoutTime + timeoutTime, + isBlocked, + isMuted, + isAvatarInteractionDisabled, + isChatBoxMuted, + ageVerified }); // get block, mute }; diff --git a/src/views/PlayerList/PlayerList.vue b/src/views/PlayerList/PlayerList.vue index 4e409ff4..0ce99a1a 100644 --- a/src/views/PlayerList/PlayerList.vue +++ b/src/views/PlayerList/PlayerList.vue @@ -259,35 +259,38 @@ sortable :sort-method="sortInstanceIcon">