changeset 490:b9925a2758c3

Bridge: "auto" type for sendMessage method
author Goffi <goffi@goffi.org>
date Fri, 17 Aug 2012 03:11:39 +0200
parents f36c705a5310
children 1e4731f1e1d7
files src/bridge/bridge_constructor/bridge_template.ini
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Fri Aug 17 03:11:03 2012 +0200
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Fri Aug 17 03:11:39 2012 +0200
@@ -309,13 +309,13 @@
 sig_in=sssss
 sig_out=
 param_2_default=''
-param_3_default="chat"
+param_3_default="auto"
 param_4_default="@DEFAULT@"
 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)
+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
 
 [setPresence]