mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Be sure to pass the condition on through to the underlying transport.
This commit is contained in:
parent
988cb7504f
commit
95f4d5c7ff
2 changed files with 1 additions and 2 deletions
|
|
@ -393,7 +393,7 @@ class Mailbox(models.Model):
|
|||
connection = self.get_connection()
|
||||
if not connection:
|
||||
return new_mail
|
||||
for message in connection.get_message():
|
||||
for message in connection.get_message(condition):
|
||||
msg = self.process_incoming_message(message)
|
||||
new_mail.append(msg)
|
||||
return new_mail
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue