# HG changeset patch # User Goffi # Date 1345165899 -7200 # Node ID b9925a2758c31a8210234b21162ac1c8c7eb7926 # Parent f36c705a53105d4a243dd98d22c684d3742619c0 Bridge: "auto" type for sendMessage method diff -r f36c705a5310 -r b9925a2758c3 src/bridge/bridge_constructor/bridge_template.ini --- 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]