From 551c7993c607c81b867489d690e4a24d85dda5fe Mon Sep 17 00:00:00 2001 From: pa Date: Sat, 28 Mar 2026 23:04:10 +0900 Subject: [PATCH] fix: tts friend's name change bug --- src/stores/notification/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/stores/notification/index.js b/src/stores/notification/index.js index c18b6287..a736624e 100644 --- a/src/stores/notification/index.js +++ b/src/stores/notification/index.js @@ -828,7 +828,9 @@ export const useNotificationStore = defineStore('Notification', () => { return; } let displayName = ''; - if (noty.displayName) { + if (noty.type === 'DisplayName' && noty.previousDisplayName) { + displayName = noty.previousDisplayName; + } else if (noty.displayName) { displayName = noty.displayName; } else if (noty.senderUsername) { displayName = noty.senderUsername;