changeset 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 (2015-07-13)
parents 78e4a79fbb5e
children 052d1d19016d
files src/server/server.py
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
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: