plugin XEP-0085: Chat State Notifications
- new "options" parameter to send chat states
- plugin command export: messages without body are now delivered (since all the chat states other than "active" need them)
This commit is contained in:
parent
174a0d9862
commit
9cb7071e89
1 changed files with 368 additions and 33 deletions
|
|
@ -196,8 +196,8 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
def registerNewAccount(self, login, password, email, host, port=5222):
|
||||
return unicode(self.db_core_iface.registerNewAccount(login, password, email, host, port))
|
||||
|
||||
def sendMessage(self, to_jid, message, subject='', mess_type="auto", profile_key="@DEFAULT@"):
|
||||
return self.db_core_iface.sendMessage(to_jid, message, subject, mess_type, profile_key)
|
||||
def sendMessage(self, to_jid, message, subject='', mess_type="auto", options={}, profile_key="@NONE@"):
|
||||
return self.db_core_iface.sendMessage(to_jid, message, subject, mess_type, options, profile_key)
|
||||
|
||||
def setParam(self, name, value, category, profile_key="@DEFAULT@"):
|
||||
return self.db_core_iface.setParam(name, value, category, profile_key)
|
||||
|
|
|
|||
Loading…
Reference in a new issue