diff --git a/mailnews/base/src/nsMsgAccountManagerDS.cpp b/mailnews/base/src/nsMsgAccountManagerDS.cpp index 7f792bbb6b0..0680ba5f0f5 100644 --- a/mailnews/base/src/nsMsgAccountManagerDS.cpp +++ b/mailnews/base/src/nsMsgAccountManagerDS.cpp @@ -826,15 +826,10 @@ nsMsgAccountManagerDataSource::isDefaultServer(nsIMsgIncomingServer *aServer) PRBool nsMsgAccountManagerDataSource::supportsFilters(nsIMsgIncomingServer *aServer) { - nsresult rv; - - nsCOMPtr filterList; - rv = aServer->GetFilterList(getter_AddRefs(filterList)); - if (NS_SUCCEEDED(rv) && filterList) - return PR_TRUE; - - return PR_FALSE; + PRBool supportsFilters; + aServer->GetCanHaveFilters(&supportsFilters); + return supportsFilters; } PRBool