diff src/bridge/bridge_constructor/bridge_template.ini @ 917:a9401694d2dc

bridge, frontends: display presence with the highest priority + reset your own presence when you (dis)connect
author souliane <souliane@mailoo.org>
date Thu, 20 Mar 2014 21:18:18 +0100
parents 308a96bc7c1b
children 71926ec2114d
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Fri Mar 21 16:27:09 2014 +0100
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Thu Mar 20 21:18:18 2014 +0100
@@ -357,19 +357,17 @@
 [setPresence]
 type=method
 category=core
-sig_in=ssia{ss}s
+sig_in=ssa{ss}s
 sig_out=
 param_0_default=''
 param_1_default=''
-param_2_default=0
-param_3_default={}
-param_4_default="@DEFAULT@"
+param_2_default={}
+param_3_default="@DEFAULT@"
 doc=Set presence information for the profile
 doc_param_0=to_jid: the JID to who we send the presence data (emtpy string for broadcast)
 doc_param_1=show: as for [presenceUpdate]
-doc_param_2=priority: as for [presenceUpdate]
-doc_param_3=statuses: as for [presenceUpdate]
-doc_param_4=%(doc_profile_key)s
+doc_param_2=statuses: as for [presenceUpdate]
+doc_param_3=%(doc_profile_key)s
 
 [subscription]
 type=method