Commit 3c5af259 authored by Tijmen de Mes's avatar Tijmen de Mes

Skip IMDN if not supported

parent 160162cb
......@@ -784,6 +784,8 @@ class MessageManager(object, metaclass=Singleton):
imdn_datetime = document.datetime.__str__()
notification_center.post_notification('BlinkGotDispositionNotification', sender=blink_session, data=NotificationData(id=imdn_message_id, status=imdn_status))
return
elif content_type.lower() == IMDNDocument.content_type:
return
message = BlinkMessage(body, content_type, sender, timestamp=timestamp, id=message_id, disposition=disposition)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment