wildduck/imap-core/lib/commands/unselect.js

17 lines
330 B
JavaScript
Raw Normal View History

2017-03-06 05:45:50 +08:00
'use strict';
module.exports = {
state: 'Selected',
handler(command, callback) {
this.session.selected = this.selected = false;
this.state = 'Authenticated';
this.updateNotificationListener(() => {
callback(null, {
response: 'OK'
});
});
}
};