From d4af15a04b815acfea0b67c4657d4907f22e0aa1 Mon Sep 17 00:00:00 2001 From: "Bruno G. Albuquerque" Date: Sun, 31 Oct 2004 03:18:03 +0000 Subject: [PATCH] Now the spam filter works with BeMail. In any case, checking if the user has the Spam Filter enables on any of his accounts does not seem to be a good way to determine if we should show the Spam icon or not. Maybe we should check if the Spam Server is available? git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9674 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/bemail/Mail.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/apps/bemail/Mail.cpp b/src/apps/bemail/Mail.cpp index 4d238c9c6b..71b1e87b56 100644 --- a/src/apps/bemail/Mail.cpp +++ b/src/apps/bemail/Mail.cpp @@ -241,7 +241,7 @@ TMailApp::AboutRequested() (new BAlert("", "BeMail\nBy Robert Polic\n\n" "Enhanced by Axel Dörfler and the Dr. Zoidberg crew\n\n" - "Mail.cpp $Revision: 1.2 $\n" + "Mail.cpp $Revision: 1.3 $\n" "Compiled on " __DATE__ " at " __TIME__ ".", "Close"))->Go(); } @@ -781,7 +781,9 @@ TMailApp::CheckForSpamFilterExistence() for (addonNameIndex = 0; B_OK == settingsMessage.FindString ( "filter_addons", addonNameIndex, &addonNamePntr); addonNameIndex++) { - if (strstr (addonNamePntr, "SpamFilter") != NULL) { + printf("%s\n", addonNamePntr); + if (strstr (addonNamePntr, "Spam Filter") != NULL) { + printf("Found it\n"); gShowSpamGUI = true; // Found it! return; }