Mercurial > libervia-backend
comparison src/memory/params.py @ 1037:6e975c6b0faf
core, memory, bridge, plugin misc_register_account: move registerNewAccount to a new plugin:
- the bridge method has been removed, now a plugin takes care of it with XMLUI callback system
- TODO: xmpp.RegisteringAuthenticator still needs to be fixed
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 16 May 2014 00:58:20 +0200 |
parents | 15f43b54d697 |
children | 902c764a0d2b |
comparison
equal
deleted
inserted
replaced
1036:35048cafb18d | 1037:6e975c6b0faf |
---|---|
133 self.host = host | 133 self.host = host |
134 self.storage = storage | 134 self.storage = storage |
135 self.default_profile = None | 135 self.default_profile = None |
136 self.params = {} | 136 self.params = {} |
137 self.params_gen = {} | 137 self.params_gen = {} |
138 host.registerCallback(host.registerNewAccountCB, with_data=True, force_id="registerNewAccount") | |
139 | 138 |
140 def asyncCreateProfile(self, profile): | 139 def asyncCreateProfile(self, profile): |
141 """Create a new profile | 140 """Create a new profile |
142 @param profile: name of the profile | 141 @param profile: name of the profile |
143 @param callback: called when the profile actually exists in database and memory | 142 @param callback: called when the profile actually exists in database and memory |