Commit 71ef86fe authored by Adrian Georgescu's avatar Adrian Georgescu

Automatically set sip2sip.info server settings URL

parent c8b43dc7
...@@ -372,6 +372,8 @@ class AddAccountDialog(base_class, ui_class, metaclass=QSingleton): ...@@ -372,6 +372,8 @@ class AddAccountDialog(base_class, ui_class, metaclass=QSingleton):
account.enabled = True account.enabled = True
account.display_name = self.display_name or None account.display_name = self.display_name or None
account.auth.password = self.password account.auth.password = self.password
if account.id.domain == 'sip2sip.info':
account.server.settings_url = "https://blink.sipthor.net/settings.phtml"
account.save() account.save()
account_manager = AccountManager() account_manager = AccountManager()
account_manager.default_account = account account_manager.default_account = account
......
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