diff src/bridge/bridge_constructor/bridge_template.ini @ 504:65ecbb473cbb

core, quick frontend, plugin xep-0054, bridge: use of memory's entities data for vcard: - bridge: new bridge method getEntityData and signal entityDataUpdated - core: entityDataUpdated signal sent on new string data - quick frontend: fixed avatars/vcard infos, fixed _replace in quick_contact_list - plugin xep-0054: dropped updatedValue signal, use entities data instead
author Goffi <goffi@goffi.org>
date Wed, 26 Sep 2012 01:23:56 +0200
parents e9634d2e7b38
children 862c0d6ab974
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/bridge_template.ini	Wed Sep 26 00:38:41 2012 +0200
+++ b/src/bridge/bridge_constructor/bridge_template.ini	Wed Sep 26 01:23:56 2012 +0200
@@ -136,14 +136,15 @@
 doc_param_1=id: Id of the action
 doc_param_2=data: answer_type specific data
 
-[updatedValue]
+[entityDataUpdated]
 type=signal
 category=core
-sig_in=sa{ss}s
-doc=A value has been updated
-doc_param_0=name: Name of the updated value
-doc_param_1=value: New value
-doc_param_2=%(doc_profile)s
+sig_in=ssss
+doc=An entity's data has been updated
+doc_param_0=jid: entity's bare jid
+doc_param_1=name: Name of the updated value
+doc_param_2=value: New value
+doc_param_3=%(doc_profile)s
 
 ;methods
 
@@ -171,6 +172,18 @@
 sig_out=as
 doc=Get all profiles
 
+[getEntityData]
+type=method
+category=core
+sig_in=sass
+sig_out=a{ss}
+doc=Get data for an entity
+doc_param_0=jid: entity's bare jid
+doc_param_1=keys: list of keys to get
+doc_param_2=%(doc_profile)s
+doc_return=dictionary of asked key,
+ if key doesn't exist, the resulting dictionary will neither have the key
+
 [createProfile]
 deprecated=
 type=method