comparison 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
comparison
equal deleted inserted replaced
709:78e4a79fbb5e 710:df8cb7bedfbf
917 if profile not in self.queue: 917 if profile not in self.queue:
918 self.queue[profile] = [] 918 self.queue[profile] = []
919 self.queue[profile].append((function_name, args[:-1])) 919 self.queue[profile].append((function_name, args[:-1]))
920 return genericCb 920 return genericCb
921 921
922 def connected(self, profile): 922 def connected(self, profile, jid_s):
923 """Connection is done.
924
925 @param profile (unicode): %(doc_profile)s
926 @param jid_s (unicode): the JID that we were assigned by the server, as the resource might differ from the JID we asked for.
927 """
928 # jid_s is handled in QuickApp.connectionHandler already
923 assert(self.register) # register must be plugged 929 assert(self.register) # register must be plugged
924 request = self.register.waiting_profiles.getRequest(profile) 930 request = self.register.waiting_profiles.getRequest(profile)
925 if request: 931 if request:
926 self.register._logged(profile, request) 932 self.register._logged(profile, request)
927 933