comparison src/bridge/bridge_constructor/bridge_template.ini @ 1262:f8a8434dbac7 frontends_multi_profiles

core: improved roster management + misc: - updated methods to no use anymore methods deprecated in Wokkel - use of full jid when it make sense instead of bare jid - getContacts, updateContact and delContact are now asynchronous
author Goffi <goffi@goffi.org>
date Wed, 10 Dec 2014 18:32:33 +0100
parents f0c9b149ed99
children faa1129559b8
comparison
equal deleted inserted replaced
1261:93bce9e4c9c8 1262:f8a8434dbac7
253 param_0_default="@DEFAULT@" 253 param_0_default="@DEFAULT@"
254 doc=Tell if a profile is connected 254 doc=Tell if a profile is connected
255 doc_param_0=%(doc_profile_key)s 255 doc_param_0=%(doc_profile_key)s
256 256
257 [getContacts] 257 [getContacts]
258 async=
258 type=method 259 type=method
259 category=core 260 category=core
260 sig_in=s 261 sig_in=s
261 sig_out=a(sa{ss}as) 262 sig_out=a(sa{ss}as)
262 param_0_default="@DEFAULT@" 263 param_0_default="@DEFAULT@"
263 doc=Return information about all contacts 264 doc=Return information about all contacts (the roster)
264 doc_param_0=%(doc_profile_key)s 265 doc_param_0=%(doc_profile_key)s
265 doc_return=array of tuples with the following values: 266 doc_return=array of tuples with the following values:
266 - JID of the contact 267 - JID of the contact
267 - list of attributes as in [newContact] 268 - list of attributes as in [newContact]
268 - groups where the contact is 269 - groups where the contact is
506 doc=Add a contact to profile's roster 507 doc=Add a contact to profile's roster
507 doc_param_0=entity_jid: JID to add to roster 508 doc_param_0=entity_jid: JID to add to roster
508 doc_param_1=%(doc_profile_key)s 509 doc_param_1=%(doc_profile_key)s
509 510
510 [updateContact] 511 [updateContact]
512 async=
511 type=method 513 type=method
512 category=core 514 category=core
513 sig_in=ssass 515 sig_in=ssass
514 sig_out= 516 sig_out=
515 param_3_default="@DEFAULT@" 517 param_3_default="@DEFAULT@"
518 doc_param_1=name: roster's name for the entity 520 doc_param_1=name: roster's name for the entity
519 doc_param_2=groups: list of group where the entity is 521 doc_param_2=groups: list of group where the entity is
520 doc_param_3=%(doc_profile_key)s 522 doc_param_3=%(doc_profile_key)s
521 523
522 [delContact] 524 [delContact]
525 async=
523 type=method 526 type=method
524 category=core 527 category=core
525 sig_in=ss 528 sig_in=ss
526 sig_out= 529 sig_out=
527 param_1_default="@DEFAULT@" 530 param_1_default="@DEFAULT@"