Mailspring/packages/nylas-sync/syncback_tasks/move-to-folder.imap.js

22 lines
461 B
JavaScript
Raw Normal View History

2016-06-29 05:07:54 +08:00
class MoveToFolderIMAP {
constructor(account, syncbackRequest) {
this._account = account;
this._syncbackRequest = syncbackRequest;
}
2016-06-30 01:11:53 +08:00
syncbackRequestObject() {
return this._syncbackRequest;
}
2016-06-29 05:07:54 +08:00
description() {
return `MoveToFolder`;
}
run(db, imap) {
console.log("----------------------- RUNNING MOVE TO FOLDER IMAP");
imap.getBoxes().then(console.log)
2016-06-29 08:12:45 +08:00
return Promise.resolve();
2016-06-29 05:07:54 +08:00
}
}
module.exports = MoveToFolderIMAP