Disabled or removed tons of hardcoded functionality - needs to be generalized and localized or removed entirely

This commit is contained in:
Rick Falkvinge
2014-10-22 10:31:55 +02:00
parent d5726014e0
commit 4535df2ccc
13 changed files with 101 additions and 439 deletions
-8
View File
@@ -96,14 +96,6 @@ namespace Swarmops.Utility.BotCode
Dictionary<int, bool> decliners = new Dictionary<int, bool>();
//HACK: invitation to member meeting should be sent out to ALL members for PPSE
if (mail.Author.PartyEmail.ToLower() != "motespresidiet@piratpartiet.se"
|| mail.GeographyId != Geography.RootIdentity
|| mail.OrganizationId != Organization.PPSEid)
{
decliners = Optimizations.GetPeopleWhoDeclineLocalMail(personIdList.ToArray());
}
int declineCount = decliners.Count;
if (declineCount > 0)