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;