Commit 10eaf857 authored by Dan Pascu's avatar Dan Pascu

Adapted to the latest API changes in middleware

parent a71c6f39
......@@ -25,8 +25,8 @@ from zope.interface import implements
from sipsimple.account import Account, AccountManager, BonjourAccount
from sipsimple.application import SIPApplication
from sipsimple.configuration.backend.file import FileBackend
from sipsimple.configuration.settings import SIPSimpleSettings
from sipsimple.storage import FileStorage
from sipsimple.threading import run_in_twisted_thread
from sipsimple.threading.green import run_in_green_thread
from sipsimple.util import TimestampedNotificationData, makedirs
......@@ -226,6 +226,6 @@ class Blink(QApplication):
self.first_run = True
notification_center = NotificationCenter()
notification_center.add_observer(self, sender=self.application)
self.application.start(FileBackend(ApplicationData.get('config')))
self.application.start(FileStorage(ApplicationData.directory))
......@@ -568,7 +568,7 @@ class ServerToolsWebView(QWebView):
handler(notification)
def _NH_CFGSettingsObjectDidChange(self, notification):
if 'id' in notification.data.modified or 'auth.password' in notification.data.modified:
if '__id__' in notification.data.modified or 'auth.password' in notification.data.modified:
self.authenticated = False
self.reload()
......
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