comparison frontends/src/bridge/DBus.py @ 698:d731ae066158

core: sendMessage's options parameter has been renamed to extra to be consistent with newMessage
author Goffi <goffi@goffi.org>
date Wed, 13 Nov 2013 13:58:10 +0100
parents 7d6e5807504a
children 648511e42a69
comparison
equal deleted inserted replaced
697:0c84fb112d70 698:d731ae066158
194 return unicode(self.db_core_iface.launchAction(action_type, data, profile_key)) 194 return unicode(self.db_core_iface.launchAction(action_type, data, profile_key))
195 195
196 def registerNewAccount(self, login, password, email, host, port=5222): 196 def registerNewAccount(self, login, password, email, host, port=5222):
197 return unicode(self.db_core_iface.registerNewAccount(login, password, email, host, port)) 197 return unicode(self.db_core_iface.registerNewAccount(login, password, email, host, port))
198 198
199 def sendMessage(self, to_jid, message, subject='', mess_type="auto", options={}, profile_key="@NONE@"): 199 def sendMessage(self, to_jid, message, subject='', mess_type="auto", extra={}, profile_key="@NONE@"):
200 return self.db_core_iface.sendMessage(to_jid, message, subject, mess_type, options, profile_key) 200 return self.db_core_iface.sendMessage(to_jid, message, subject, mess_type, extra, profile_key)
201 201
202 def setParam(self, name, value, category, security_limit=-1, profile_key="@DEFAULT@"): 202 def setParam(self, name, value, category, security_limit=-1, profile_key="@DEFAULT@"):
203 return self.db_core_iface.setParam(name, value, category, security_limit, profile_key) 203 return self.db_core_iface.setParam(name, value, category, security_limit, profile_key)
204 204
205 def setPresence(self, to_jid='', show='', priority=0, statuses={}, profile_key="@DEFAULT@"): 205 def setPresence(self, to_jid='', show='', priority=0, statuses={}, profile_key="@DEFAULT@"):