mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 05:29:20 +03:00
More improvements for https://github.com/the-djmaze/snappymail/issues/37
This commit is contained in:
parent
b3b8c97b00
commit
cd52d9ae6c
3 changed files with 5 additions and 5 deletions
|
|
@ -236,9 +236,7 @@ class MessageUserStore {
|
|||
initUidNextAndNewMessages(folder, uidNext, newMessages) {
|
||||
if (getFolderInboxName() === folder && uidNext) {
|
||||
if (Array.isNotEmpty(newMessages)) {
|
||||
newMessages.forEach(item => {
|
||||
addNewMessageCache(folder, item.Uid);
|
||||
});
|
||||
newMessages.forEach(item => addNewMessageCache(folder, item.Uid));
|
||||
|
||||
NotificationStore.playSoundNotification();
|
||||
|
||||
|
|
@ -249,7 +247,7 @@ class MessageUserStore {
|
|||
i18n('MESSAGE_LIST/NEW_MESSAGE_NOTIFICATION', {
|
||||
'COUNT': len
|
||||
}),
|
||||
{ 'Folder': '', 'Uid': '' }
|
||||
{ 'Url': mailBox(newMessages[0].Folder, 1) }
|
||||
);
|
||||
} else {
|
||||
newMessages.forEach(item => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue