|
|
@ -105,7 +105,7 @@ class Community: |
|
|
|
""" |
|
|
|
""" |
|
|
|
return any( |
|
|
|
return any( |
|
|
|
{l, m} == {user_id_1, user_id_2} and r > date.today() - timedelta(days=42) |
|
|
|
{l, m} == {user_id_1, user_id_2} and r > date.today() - timedelta(days=42) |
|
|
|
for l, m, r in self.scheduled_meetings) |
|
|
|
for l, m, r in self.scheduled_meetings + self.archived_meetings) |
|
|
|
|
|
|
|
|
|
|
|
def schedule_meetings(self): |
|
|
|
def schedule_meetings(self): |
|
|
|
random.shuffle(self.pool) # It's called RandomTea for a reason |
|
|
|
random.shuffle(self.pool) # It's called RandomTea for a reason |
|
|
|