diff src/server/server.py @ 915:e9e9d9d893a8

server: renamed getProfileName to profileNameGet following core change and new conventions.
author Goffi <goffi@goffi.org>
date Sun, 05 Mar 2017 23:15:09 +0100
parents 0c0551967bdf
children 86563d6c83b0
line wrap: on
line diff
--- a/src/server/server.py	Sun Feb 26 18:32:47 2017 +0100
+++ b/src/server/server.py	Sun Mar 05 23:15:09 2017 +0100
@@ -1014,7 +1014,7 @@
             login_jid = None
 
         try:
-            profile = self.sat_host.bridge.getProfileName(login)
+            profile = self.sat_host.bridge.profileNameGet(login)
         except Exception:  # XXX: ProfileUnknownError wouldn't work, it's encapsulated
             if login_jid is not None and login_jid.user:  # try to create a new sat profile using the XMPP credentials
                 if not self.sat_host.options["allow_registration"]: