mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-07 06:56:04 +02:00
fix: tts friend's name change bug
This commit is contained in:
@@ -828,7 +828,9 @@ export const useNotificationStore = defineStore('Notification', () => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
let displayName = '';
|
let displayName = '';
|
||||||
if (noty.displayName) {
|
if (noty.type === 'DisplayName' && noty.previousDisplayName) {
|
||||||
|
displayName = noty.previousDisplayName;
|
||||||
|
} else if (noty.displayName) {
|
||||||
displayName = noty.displayName;
|
displayName = noty.displayName;
|
||||||
} else if (noty.senderUsername) {
|
} else if (noty.senderUsername) {
|
||||||
displayName = noty.senderUsername;
|
displayName = noty.senderUsername;
|
||||||
|
|||||||
Reference in New Issue
Block a user