Mercurial > libervia-backend
diff src/bridge/bridge_constructor/bridge_template.ini @ 636:7ea6d5a86e58
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)
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 05 Sep 2013 20:48:47 +0200 |
parents | ca2cae6b2c6d |
children | 49587e170f53 |
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini Sun Sep 08 19:12:59 2013 +0200 +++ b/src/bridge/bridge_constructor/bridge_template.ini Thu Sep 05 20:48:47 2013 +0200 @@ -344,17 +344,19 @@ [sendMessage] type=method category=core -sig_in=sssss +sig_in=ssssa{ss}s sig_out= param_2_default='' param_3_default="auto" -param_4_default="@DEFAULT@" +param_4_default={} +param_5_default="@NONE@" doc=Send a message doc_param_0=to_jid: JID of the recipient doc_param_1=message: body of the message doc_param_2=subject: Subject of the message ('' if no subject) doc_param_3=mess_type: Type of the message (cf RFC 3921 #2.1.1) or "auto" for automatic type detection -doc_param_4=%(doc_profile_key)s +doc_param_4=options: optional data that can be used by a plugin to build more specific messages +doc_param_5=%(doc_profile_key)s [setPresence] type=method