only select a new message if necessary

This commit is contained in:
Felix Hammerl 2013-12-04 17:13:24 +01:00
parent 82ee9a3ed8
commit 1714955e8e
1 changed files with 4 additions and 2 deletions

View File

@ -195,8 +195,10 @@ define(function(require) {
return;
}
// select first message
$scope.select(emails[emails.length - 1]);
if (!$scope.state.mailList.selected) {
// select first message
$scope.select(emails[emails.length - 1]);
}
}
function getFolder() {