Bug 178870 - [news filters] implement filter after the fact (make Run Filters on Folder available for newsgroups). SeaMonkey part. r+moa=Mnyromyr
authorJens Hatlak <jh@junetz.de>
Sat, 30 Apr 2011 22:18:40 +0200
changeset 7654 4af027ba1614
parent 7653 f63bf0fcb0c1
child 7655 48c4c07c3b39
push id5877
push userjh@junetz.de
push date2011-04-30 20:23 +0000
treeherdercomm-central@4af027ba1614 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs178870
Bug 178870 - [news filters] implement filter after the fact (make Run Filters on Folder available for newsgroups). SeaMonkey part. r+moa=Mnyromyr
suite/mailnews/search/FilterListDialog.js
--- a/suite/mailnews/search/FilterListDialog.js
+++ b/suite/mailnews/search/FilterListDialog.js
@@ -250,20 +250,16 @@ function onFilterServerClick(selection)
     if (filterList) 
       filterList.saveToDefaultFile();
 
     selectServer(itemURI);
 }
 
 function CanRunFiltersAfterTheFact(aServer)
 {
-  // can't manually run news filters yet
-  if (aServer.type == "nntp")
-    return false;
-
   // filter after the fact is implement using search
   // so if you can't search, you can't filter after the fact
   return aServer.canSearchMessages;
 }
 
 // roots the tree at the specified server
 function setServer(uri)
 {