diff src/bridge/bridge_constructor/bridge_template.ini @ 1171:0abce7f17782

core: a new "info" type is used in newMessage for system messages (not comming from outside)
author Goffi <goffi@goffi.org>
date Fri, 05 Sep 2014 19:29:30 +0200
parents aa15453ec54d
children 96fb74a4714d
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Fri Sep 05 11:16:38 2014 +0200
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Fri Sep 05 19:29:30 2014 +0200
@@ -40,7 +40,7 @@
 doc=A message has been received
 doc_param_0=from_jid: JID where the message is comming from
 doc_param_1=message: Message itself
-doc_param_2=mess_type: Type of the message (cf RFC 3921 #2.1.1)
+doc_param_2=mess_type: Type of the message (cf RFC 6121 §5.2.2) + C.MESS_TYPE_INFO (system info)
 doc_param_3=to_jid: JID where the message must be sent
 doc_param_4=extra: extra message information
 doc_param_5=%(doc_profile)s
@@ -63,9 +63,9 @@
 sig_in=ssia{ss}s
 doc=Somebody changed his presence informations.
 doc_param_0=entity_jid: JID from which we have presence informations
-doc_param_1=show: availability status (see RFC 3921 #2.2.2.1)
-doc_param_2=priority: Priority level of the ressource (see RFC 3921 #2.2.2.3)
-doc_param_3=statuses: Natural language description of the availability status (see RFC 3921 #2.2.2.2)
+doc_param_1=show: availability status (see RFC 6121 §4.7.2.1)
+doc_param_2=priority: Priority level of the ressource (see RFC 6121 §4.7.2.3)
+doc_param_3=statuses: Natural language description of the availability status (see RFC 6121 §4.7.2.2)
 doc_param_4=%(doc_profile)s
 
 [subscribe]
@@ -73,7 +73,7 @@
 category=core
 sig_in=sss
 doc=Somebody wants to be added in roster
-doc_param_0=sub_type: Subscription states (see RFC 3921 #9)
+doc_param_0=sub_type: Subscription states (see RFC 6121 §3)
 doc_param_1=entity_jid: JID from which the subscription is coming
 doc_param_2=%(doc_profile)s
 
@@ -334,7 +334,7 @@
 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_3=mess_type: Type of the message (cf RFC 6121 §5.2.2) or "auto" for automatic type detection
 doc_param_4=extra: optional data that can be used by a plugin to build more specific messages 
 doc_param_5=%(doc_profile_key)s