mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-03 22:47:03 +03:00
PreRelease commit
This commit is contained in:
parent
cfad4bb005
commit
c926642bff
11 changed files with 80 additions and 78 deletions
|
|
@ -653,7 +653,7 @@ class AppUser extends AbstractApp
|
|||
MessageStore.initUidNextAndNewMessages(folder.fullNameRaw, data.Result.UidNext, data.Result.NewMessages);
|
||||
|
||||
const hash = Cache.getFolderHash(data.Result.Folder);
|
||||
if (data.Result.Hash !== hash || '' === hash)
|
||||
if (data.Result.Hash !== hash || '' === hash || unreadCountChange)
|
||||
{
|
||||
if (folder.fullNameRaw === FolderStore.currentFolderFullNameRaw())
|
||||
{
|
||||
|
|
@ -664,17 +664,6 @@ class AppUser extends AbstractApp
|
|||
this.recacheInboxMessageList();
|
||||
}
|
||||
}
|
||||
else if (unreadCountChange)
|
||||
{
|
||||
if (folder.fullNameRaw === FolderStore.currentFolderFullNameRaw())
|
||||
{
|
||||
list = MessageStore.messageList();
|
||||
if (Utils.isNonEmptyArray(list))
|
||||
{
|
||||
this.folderInformation(folder.fullNameRaw, list);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -155,6 +155,7 @@
|
|||
|
||||
'fillEmptyBlocks': false,
|
||||
'ignoreEmptyParagraph': true,
|
||||
'disableNativeSpellChecker': false,
|
||||
|
||||
'font_defaultLabel': 'Arial',
|
||||
'fontSize_defaultLabel': '13',
|
||||
|
|
|
|||
|
|
@ -479,7 +479,7 @@
|
|||
}
|
||||
else if (SettingsStore.useThreads())
|
||||
{
|
||||
require('App/User').default.default.reloadFlagsCurrentMessageListAndMessageFromCache();
|
||||
require('App/User').default.reloadFlagsCurrentMessageListAndMessageFromCache();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -289,13 +289,9 @@
|
|||
{
|
||||
NotificationStore.displayDesktopNotification(
|
||||
Links.notificationMailIcon(),
|
||||
MessageHelper.emailArrayToString(
|
||||
MessageHelper.emailArrayFromJson(aNewMessages[iIndex].From), false),
|
||||
MessageHelper.emailArrayToString(MessageHelper.emailArrayFromJson(aNewMessages[iIndex].From), false),
|
||||
aNewMessages[iIndex].Subject,
|
||||
{
|
||||
'Folder': aNewMessages[iIndex].Folder,
|
||||
'Uid': aNewMessages[iIndex].Uid
|
||||
}
|
||||
{'Folder': aNewMessages[iIndex].Folder, 'Uid': aNewMessages[iIndex].Uid}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue