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