mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-14 16:07:15 +00:00
1 parent
e7a06c42a4
commit
75aaef0f3d
3 files changed
+15
-4
No files matched your search
@@ -571,6 +571,16 @@
|
||||
});
|
||||
};
|
||||
|
||||
/**
|
||||
* @function $canFolderAs
|
||||
* @memberof Mailbox.prototype
|
||||
* @desc Check if the folder can be set as Drafts/Sent/Trash
|
||||
* @returns true if folder is eligible
|
||||
*/
|
||||
Mailbox.prototype.$canFolderAs = function() {
|
||||
return this.type == 'folder' && this.level === 0;
|
||||
};
|
||||
|
||||
/**
|
||||
* @function $setFolderAs
|
||||
* @memberof Mailbox.prototype
|
||||
|
||||
Reference in new issue
Block a user