mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 341436: Address Neil's review nit
This commit is contained in:
parent
90d29fd7ea
commit
5801c98c4e
@ -862,6 +862,7 @@ function IsCanSearchMessagesEnabled()
|
||||
var folderURI = GetSelectedFolderURI();
|
||||
if (!folderURI)
|
||||
return false;
|
||||
|
||||
var folder = GetMsgFolderFromUri(folderURI, false);
|
||||
var isVirtualFolder = folder.flags & MSG_FOLDER_FLAG_VIRTUAL;
|
||||
return folder.server.canSearchMessages && !isVirtualFolder;
|
||||
|
Loading…
Reference in New Issue
Block a user