mirror of
https://github.com/moparisthebest/mail
synced 2025-01-09 12:38:03 -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) {
|
if ($scope.currentFolder === trashFolder) {
|
||||||
emailDao.imapDeleteMessage({
|
emailDao.imapDeleteMessage({
|
||||||
path: $scope.currentFolder.path,
|
folder: $scope.currentFolder.path,
|
||||||
uid: email.uid
|
uid: email.uid
|
||||||
}, moved);
|
}, moved);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
emailDao.imapMoveMessage({
|
emailDao.imapMoveMessage({
|
||||||
path: $scope.currentFolder.path,
|
folder: $scope.currentFolder.path,
|
||||||
uid: email.uid,
|
uid: email.uid,
|
||||||
destination: trashFolder.path
|
destination: trashFolder.path
|
||||||
}, moved);
|
}, moved);
|
||||||
|
Loading…
Reference in New Issue
Block a user