Mercurial > libervia-backend
comparison frontends/src/bridge/DBus.py @ 336:953536246d9d
core: added email in registerNewAccount
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 25 May 2011 17:18:05 +0200 |
parents | 5fc5e6a7e5c3 |
children | 4402ac630712 |
comparison
equal
deleted
inserted
replaced
335:99206631503e | 336:953536246d9d |
---|---|
122 return self.db_comm_iface.isConnected(profile_key) | 122 return self.db_comm_iface.isConnected(profile_key) |
123 | 123 |
124 def launchAction(self, action_type, data, profile_key="@DEFAULT@"): | 124 def launchAction(self, action_type, data, profile_key="@DEFAULT@"): |
125 return unicode(self.db_req_iface.launchAction(action_type, data, profile_key)) | 125 return unicode(self.db_req_iface.launchAction(action_type, data, profile_key)) |
126 | 126 |
127 def registerNewAccount(self, login, password, host, port=5222): | 127 def registerNewAccount(self, login, password, email, host, port=5222): |
128 return unicode(self.db_comm_iface.registerNewAccount(login, password, host, port)) | 128 return unicode(self.db_comm_iface.registerNewAccount(login, password, email, host, port)) |
129 | 129 |
130 def sendMessage(self, to_jid, message, subject='', mess_type="chat", profile_key="@DEFAULT@"): | 130 def sendMessage(self, to_jid, message, subject='', mess_type="chat", profile_key="@DEFAULT@"): |
131 return self.db_comm_iface.sendMessage(to_jid, message, subject, mess_type, profile_key) | 131 return self.db_comm_iface.sendMessage(to_jid, message, subject, mess_type, profile_key) |
132 | 132 |
133 def setParam(self, name, value, category, profile_key="@DEFAULT@"): | 133 def setParam(self, name, value, category, profile_key="@DEFAULT@"): |