PreRelease commit

This commit is contained in:
RainLoop Team 2016-01-04 19:47:02 +03:00
parent cfad4bb005
commit c926642bff
11 changed files with 80 additions and 78 deletions

View file

@ -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);
}
}
}
}
}
}

View file

@ -155,6 +155,7 @@
'fillEmptyBlocks': false,
'ignoreEmptyParagraph': true,
'disableNativeSpellChecker': false,
'font_defaultLabel': 'Arial',
'fontSize_defaultLabel': '13',

View file

@ -479,7 +479,7 @@
}
else if (SettingsStore.useThreads())
{
require('App/User').default.default.reloadFlagsCurrentMessageListAndMessageFromCache();
require('App/User').default.reloadFlagsCurrentMessageListAndMessageFromCache();
}
};

View file

@ -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}
);
}
}