1
0
Fork 0

Fixed issue that made it possible for signal receiver to break getmail.

--HG--
branch : ashvetsov/fixes-to-push
extra : source : a76f8a4e1cf9c469710eb30d093be749965ee213
This commit is contained in:
ashvetsov 2013-04-11 15:56:22 +04:00
parent 8ab0f708c5
commit 60718f5ea8

View file

@ -165,7 +165,12 @@ class Mailbox(models.Model):
msg = self._process_message(message)
msg.outgoing = False
msg.save()
message_received.send(sender=self, message=msg)
try:
message_received.send(sender=self, message=msg)
except:
pass
return msg
def record_outgoing_message(self, message):