mirror of
https://github.com/moparisthebest/mail
synced 2025-02-07 10:30:18 -05:00
do not remove body from outbox messages, add missing scope.apply
This commit is contained in:
parent
341fb008ea
commit
336b4a4a7f
@ -58,6 +58,7 @@ define(function(require) {
|
||||
$scope.state.mailList.synchronize();
|
||||
} else {
|
||||
outbox.count = count;
|
||||
$scope.$apply();
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -240,9 +240,6 @@ define(function(require) {
|
||||
});
|
||||
|
||||
newMessages.forEach(function(newMessage) {
|
||||
// remove the body to not load unnecessary data to memory
|
||||
delete newMessage.body;
|
||||
|
||||
folder.messages.push(newMessage);
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user