comparison src/core/sat_main.py @ 1694:3c608d660f0b

core (memory): profile is checked in startSession (an error is raised if it doesn't exist)
author Goffi <goffi@goffi.org>
date Fri, 27 Nov 2015 16:50:29 +0100
parents b08b828a87c9
children c1be6363bfab
comparison
equal deleted inserted replaced
1693:35426d58471c 1694:3c608d660f0b
72 self.bridge.register("getProfilesList", self.memory.getProfilesList) 72 self.bridge.register("getProfilesList", self.memory.getProfilesList)
73 self.bridge.register("getEntityData", lambda jid_, keys, profile: self.memory.getEntityData(jid.JID(jid_), keys, profile)) 73 self.bridge.register("getEntityData", lambda jid_, keys, profile: self.memory.getEntityData(jid.JID(jid_), keys, profile))
74 self.bridge.register("getEntitiesData", self.memory._getEntitiesData) 74 self.bridge.register("getEntitiesData", self.memory._getEntitiesData)
75 self.bridge.register("asyncCreateProfile", self.memory.asyncCreateProfile) 75 self.bridge.register("asyncCreateProfile", self.memory.asyncCreateProfile)
76 self.bridge.register("asyncDeleteProfile", self.memory.asyncDeleteProfile) 76 self.bridge.register("asyncDeleteProfile", self.memory.asyncDeleteProfile)
77 self.bridge.register("profileStartSession", self.memory._startSession) 77 self.bridge.register("profileStartSession", self.memory.startSession)
78 self.bridge.register("profileIsSessionStarted", self.memory._isSessionStarted) 78 self.bridge.register("profileIsSessionStarted", self.memory._isSessionStarted)
79 self.bridge.register("profileSetDefault", self.memory.profileSetDefault) 79 self.bridge.register("profileSetDefault", self.memory.profileSetDefault)
80 self.bridge.register("asyncConnect", self._asyncConnect) 80 self.bridge.register("asyncConnect", self._asyncConnect)
81 self.bridge.register("disconnect", self.disconnect) 81 self.bridge.register("disconnect", self.disconnect)
82 self.bridge.register("getContacts", self.getContacts) 82 self.bridge.register("getContacts", self.getContacts)