Better solution for #471

This commit is contained in:
the-djmaze 2022-08-01 22:45:17 +02:00
parent 2c4bd445a5
commit 561445de03
2 changed files with 14 additions and 9 deletions

View file

@ -171,8 +171,10 @@ MessagelistUserStore.reload = (bDropPagePosition = false, bDropCurrentFolderCach
if (iError) {
if (Notification.RequestAborted !== iError) {
MessagelistUserStore([]);
MessagelistUserStore.error(getNotification(iError));
} else if ('TimeoutError' === oData.reason) {
MessagelistUserStore.error(oData.reason);
}
MessagelistUserStore.error(getNotification(iError) || oData.message);
} else {
const collection = MessageCollectionModel.reviveFromJson(oData.Result, bCached);
if (collection) {