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

15 lines
263 B
JavaScript
Raw Normal View History

2017-03-06 05:45:50 +08:00
'use strict';
module.exports = {
state: ['Authenticated', 'Selected'],
handler(command, callback) {
// fixed structre
this.send('* NAMESPACE (("" "/")) NIL NIL');
callback(null, {
response: 'OK'
});
}
};