mirror of
https://github.com/moparisthebest/mail
synced 2025-01-08 20:18:39 -05:00
fix bug with erroneous api usage
This commit is contained in:
parent
8c6c6a8ab2
commit
fea71cd001
@ -39,14 +39,14 @@ define(function(require) {
|
||||
|
||||
if ($scope.currentFolder === trashFolder) {
|
||||
emailDao.imapDeleteMessage({
|
||||
path: $scope.currentFolder.path,
|
||||
folder: $scope.currentFolder.path,
|
||||
uid: email.uid
|
||||
}, moved);
|
||||
return;
|
||||
}
|
||||
|
||||
emailDao.imapMoveMessage({
|
||||
path: $scope.currentFolder.path,
|
||||
folder: $scope.currentFolder.path,
|
||||
uid: email.uid,
|
||||
destination: trashFolder.path
|
||||
}, moved);
|
||||
|
Loading…
Reference in New Issue
Block a user