Commit 2c695a39 authored by Tijmen de Mes's avatar Tijmen de Mes

Don't send message pending notification for more content types

parent 0fa9886b
......@@ -109,7 +109,7 @@ class OutgoingMessage(object):
def send(self, session):
self.session = session
if self.content_type.lower() not in self.__ignored_content_types__:
if self.content_type.lower() not in self.__disabled_imdn_content_types__:
notification_center = NotificationCenter()
notification_center.post_notification('BlinkMessageIsPending', sender=self.session, data=NotificationData(message=self.message, id=self.id))
if self.session.routes:
......
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