core: added email in registerNewAccount

This commit is contained in:
Goffi 2011-05-25 17:18:05 +02:00
commit 138f0b26da

View file

@ -124,8 +124,8 @@ class DBusBridgeFrontend(BridgeFrontend):
def launchAction(self, action_type, data, profile_key="@DEFAULT@"):
return unicode(self.db_req_iface.launchAction(action_type, data, profile_key))
def registerNewAccount(self, login, password, host, port=5222):
return unicode(self.db_comm_iface.registerNewAccount(login, password, host, port))
def registerNewAccount(self, login, password, email, host, port=5222):
return unicode(self.db_comm_iface.registerNewAccount(login, password, email, host, port))
def sendMessage(self, to_jid, message, subject='', mess_type="chat", profile_key="@DEFAULT@"):
return self.db_comm_iface.sendMessage(to_jid, message, subject, mess_type, profile_key)