Mercurial > libervia-web
diff src/server/server.py @ 710:df8cb7bedfbf
server_side: update connected signal handler according to sat changeset 1435 (7590bbf44eed)
author | souliane <souliane@mailoo.org> |
---|---|
date | Mon, 13 Jul 2015 12:44:04 +0200 |
parents | dfe4b0291daa |
children | 3b91225b457a |
line wrap: on
line diff
--- a/src/server/server.py Mon Jun 08 14:59:12 2015 +0200 +++ b/src/server/server.py Mon Jul 13 12:44:04 2015 +0200 @@ -919,7 +919,13 @@ self.queue[profile].append((function_name, args[:-1])) return genericCb - def connected(self, profile): + def connected(self, profile, jid_s): + """Connection is done. + + @param profile (unicode): %(doc_profile)s + @param jid_s (unicode): the JID that we were assigned by the server, as the resource might differ from the JID we asked for. + """ + # jid_s is handled in QuickApp.connectionHandler already assert(self.register) # register must be plugged request = self.register.waiting_profiles.getRequest(profile) if request: