Do not show emojis when displaying name only

Co-authored-by: Andrew Gaul <andrew@gaul.org>
This commit is contained in:
Scott Nonnenberg
2025-04-08 05:54:56 +10:00
committed by GitHub
parent 9346beca24
commit 1901a6cf66

View File

@@ -392,14 +392,7 @@ class NotificationService extends EventEmitter {
) {
notificationMessage = i18n('icu:newMessage');
} else if (userSetting === NotificationSetting.NameOnly) {
if (reaction) {
notificationMessage = i18n('icu:notificationReaction', {
sender: senderTitle,
emoji: reaction.emoji,
});
} else {
notificationMessage = i18n('icu:newMessage');
}
notificationMessage = i18n('icu:newMessage');
} else if (storyId) {
notificationMessage = message;
} else if (reaction) {