REFACTOR: Renamed a bunch of 'Membership' to 'Participation'

This commit is contained in:
Rick Falkvinge
2017-01-02 13:44:09 +01:00
parent 89342d8802
commit aa1f52e06d
16 changed files with 46 additions and 46 deletions
+2 -2
View File
@@ -728,7 +728,7 @@ namespace Swarmops.Utility.BotCode
try
{
person = Person.FromIdentity(newPwEvent.AffectedPersonId);
renewedMembership = person.GetRecentMembership(Membership.GracePeriod, newPwEvent.OrganizationId);
renewedMembership = person.GetRecentParticipation(Membership.GracePeriod, newPwEvent.OrganizationId);
if (renewedMembership != null)
foundExisting = true;
}
@@ -2021,7 +2021,7 @@ namespace Swarmops.Utility.BotCode
{
Person person = Person.FromIdentity(newEvent.AffectedPersonId);
if (person.MemberOf(Organization.PPSE) && person.PartyEmail.Length > 0 &&
if (person.ParticipatesInOrganization(Organization.PPSE) && person.PartyEmail.Length > 0 &&
person.CryptoFingerprint.Length < 4)
{
PgpKey.Generate(person, Organization.PPSE);