Mercurial > libervia-backend
comparison 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 | ffb716804580 |
children | 1def5b7edf9f |
comparison
equal
deleted
inserted
replaced
697:0c84fb112d70 | 698:d731ae066158 |
---|---|
385 return self._callback("registerNewAccount", unicode(login), unicode(password), unicode(email), unicode(host), port) | 385 return self._callback("registerNewAccount", unicode(login), unicode(password), unicode(email), unicode(host), port) |
386 | 386 |
387 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, | 387 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, |
388 in_signature='ssssa{ss}s', out_signature='', | 388 in_signature='ssssa{ss}s', out_signature='', |
389 async_callbacks=None) | 389 async_callbacks=None) |
390 def sendMessage(self, to_jid, message, subject='', mess_type="auto", options={}, profile_key="@NONE@"): | 390 def sendMessage(self, to_jid, message, subject='', mess_type="auto", extra={}, profile_key="@NONE@"): |
391 return self._callback("sendMessage", unicode(to_jid), unicode(message), unicode(subject), unicode(mess_type), options, unicode(profile_key)) | 391 return self._callback("sendMessage", unicode(to_jid), unicode(message), unicode(subject), unicode(mess_type), extra, unicode(profile_key)) |
392 | 392 |
393 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, | 393 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, |
394 in_signature='sssis', out_signature='', | 394 in_signature='sssis', out_signature='', |
395 async_callbacks=None) | 395 async_callbacks=None) |
396 def setParam(self, name, value, category, security_limit=-1, profile_key="@DEFAULT@"): | 396 def setParam(self, name, value, category, security_limit=-1, profile_key="@DEFAULT@"): |