Commit 764001bf authored by Tijmen de Mes's avatar Tijmen de Mes

Moved variable

parent 45ea2f45
......@@ -141,12 +141,11 @@ class OutgoingMessage(object):
@implementer(IObserver)
class MessageManager(object, metaclass=Singleton):
def __init__(self):
self.sessions = []
notification_center = NotificationCenter()
notification_center.add_observer(self, name='SIPEngineGotMessage')
notification_center.add_observer(self, name='BlinkSessionWasCreated')
self.sessions = []
@run_in_gui_thread
def handle_notification(self, notification):
handler = getattr(self, '_NH_%s' % notification.name, Null)
......
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