diff sat/bridge/bridge_constructor/bridge_template.ini @ 2595:973d4551ffae

core: added local_device argument to discoFindByFeatures
author Goffi <goffi@goffi.org>
date Fri, 25 May 2018 10:52:01 +0200
parents 26edcf3a30eb
children 712cb4ff3e13
line wrap: on
line diff
--- a/sat/bridge/bridge_constructor/bridge_template.ini	Fri May 25 10:52:01 2018 +0200
+++ b/sat/bridge/bridge_constructor/bridge_template.ini	Fri May 25 10:52:01 2018 +0200
@@ -738,13 +738,14 @@
 async=
 type=method
 category=core
-sig_in=asa(ss)bbbbs
+sig_in=asa(ss)bbbbbs
 sig_out=(a{sa(sss)}a{sa(sss)}a{sa(sss)})
 param_2_default=False
 param_3_default=True
 param_4_default=True
 param_5_default=True
-param_6_default=u"@DEFAULT@"
+param_6_default=False
+param_7_default=u"@DEFAULT@"
 doc=Discover items of an entity
 doc_param_0=namespaces: namespaces of the features to check
 doc_param_1=identities: identities to filter
@@ -753,7 +754,8 @@
 doc_param_3=service: True to check server's services
 doc_param_4=roster: True to check connected devices from people in roster
 doc_param_5=own_jid: True to check profile's jid
-doc_param_6=%(doc_profile_key)s
+doc_param_6=local_device: True to check device on which the backend is running
+doc_param_7=%(doc_profile_key)s
 doc_return=tuple of maps of found entities full jids to their identities. Maps are in this order:
  - services entities
  - own entities (i.e. entities linked to profile's jid)