mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Fix Mailbox.get_connection
This commit is contained in:
parent
d4e052bb79
commit
b7a3a6b077
1 changed files with 3 additions and 1 deletions
|
|
@ -224,7 +224,9 @@ class Mailbox(models.Model):
|
|||
conn = MHTransport(self.location)
|
||||
elif self.type == 'mmdf':
|
||||
conn = MMDFTransport(self.location)
|
||||
return registry[self.type].from_url(self.uri)
|
||||
else:
|
||||
conn = registry[self.type].from_url(self.uri)
|
||||
return conn
|
||||
|
||||
def process_incoming_message(self, message):
|
||||
"""Process a message incoming to this mailbox."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue