wildduck/imap-core/lib/commands/unselect.js
2017-03-05 23:45:50 +02:00

17 lines
330 B
JavaScript

'use strict';
module.exports = {
state: 'Selected',
handler(command, callback) {
this.session.selected = this.selected = false;
this.state = 'Authenticated';
this.updateNotificationListener(() => {
callback(null, {
response: 'OK'
});
});
}
};