wildduck/imap-core/lib/commands/namespace.js
2017-06-03 09:51:58 +03:00

15 lines
263 B
JavaScript

'use strict';
module.exports = {
state: ['Authenticated', 'Selected'],
handler(command, callback) {
// fixed structre
this.send('* NAMESPACE (("" "/")) NIL NIL');
callback(null, {
response: 'OK'
});
}
};