mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Fix
This commit is contained in:
parent
5042ccc1fe
commit
18921d16df
1 changed files with 3 additions and 3 deletions
|
|
@ -430,9 +430,9 @@ class Mailbox(models.Model):
|
||||||
if not connection:
|
if not connection:
|
||||||
return
|
return
|
||||||
|
|
||||||
# since = self.last_polling
|
since = self.last_polling
|
||||||
# if since is None:
|
if since is None:
|
||||||
since = now() - timedelta(days=INITIAL_IMPORT_LOOKBACK_DAYS)
|
since = now() - timedelta(days=INITIAL_IMPORT_LOOKBACK_DAYS)
|
||||||
|
|
||||||
for message in connection.get_message_ro(since=since):
|
for message in connection.get_message_ro(since=since):
|
||||||
msg = self.process_incoming_message(message)
|
msg = self.process_incoming_message(message)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue